Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.07115/0.07115, allocations: 11.14 MB / 31 MB, free: 4.297 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 94.31 kB / 38.74 MB, free: 6.703 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 166.3 kB / 42.15 MB, free: 3.383 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9513/0.9513, allocations: 177.2 MB / 222.6 MB, free: 6.285 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.187/0.187, allocations: 17.61 MB / 296.7 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 320.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.149e-05, allocations: 2.312 kB / 320.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.0184/0.01842, allocations: 17.88 MB / 338.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.02024, allocations: 1.709 MB / 340.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.02037, allocations: 7.938 kB / 340.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.0206, allocations: 63.42 kB / 340.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.02275, allocations: 1.024 MB / 341.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.02305, allocations: 147.7 kB / 341.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.02363, allocations: 0.5721 MB / 342.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.02432, allocations: 0.7233 MB / 343 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.02543, allocations: 0.8413 MB / 343.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006207/0.02605, allocations: 0.5653 MB / 344.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.02613, allocations: 72 kB / 344.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.02719, allocations: 0.6975 MB / 345.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.02744, allocations: 275.3 kB / 345.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.02773, allocations: 271.5 kB / 345.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.02937, allocations: 1.39 MB / 347.1 MB, free: 3.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.02937, allocations: 3.938 kB / 347.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02937, allocations: 4 kB / 347.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.02938, allocations: 0 / 347.1 MB, free: 3.852 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001182/0.03056, allocations: 0.6706 MB / 347.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.03059, allocations: 12.03 kB / 347.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.03072, allocations: 44.89 kB / 347.8 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.03115, allocations: 300.4 kB / 348.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.03117, allocations: 20.88 kB / 348.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.03124, allocations: 28.12 kB / 348.2 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.03183, allocations: 470.9 kB / 348.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.03184, allocations: 3.984 kB / 348.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.03189, allocations: 4 kB / 348.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.0319, allocations: 12 kB / 348.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.03265, allocations: 469 kB / 349.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.0345, allocations: 0.7465 MB / 349.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.03488, allocations: 206.3 kB / 350.1 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.03513, allocations: 116.8 kB / 350.2 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.03528, allocations: 36.5 kB / 350.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.0353, allocations: 38.56 kB / 350.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000834/0.03614, allocations: 271.6 kB / 350.5 MB, free: 352 kB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.03614, allocations: 4 kB / 350.5 MB, free: 348 kB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.004542/0.04068, allocations: 1.212 MB / 351.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.04071, allocations: 55.41 kB / 351.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.04094, allocations: 260.7 kB / 352.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.04098, allocations: 33.7 kB / 352.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.04105, allocations: 141.5 kB / 352.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-05/0.04115, allocations: 111 kB / 352.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.04129, allocations: 69.59 kB / 352.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.04139, allocations: 346.7 kB / 352.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.04153, allocations: 74.77 kB / 352.8 MB, free: 14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.04166, allocations: 76.14 kB / 352.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.04196, allocations: 226.3 kB / 353.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.04197, allocations: 0 / 353.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000865/0.04283, allocations: 417.5 kB / 353.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.04284, allocations: 12 kB / 353.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.04285, allocations: 0 / 353.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03178/0.07463, allocations: 3.728 MB / 357.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.952e-05/0.07466, allocations: 7.922 kB / 357.3 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.07657, allocations: 0.9557 MB / 358.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.07679, allocations: 4 kB / 358.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.07685, allocations: 23.95 kB / 358.2 MB, free: 8.512 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.07701, allocations: 128.6 kB / 358.4 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.07711, allocations: 31.86 kB / 358.4 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.07831, allocations: 0.5591 MB / 359 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.07832, allocations: 4 kB / 359 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.07832, allocations: 8 kB / 359 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.07833, allocations: 0 / 359 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.07975, allocations: 0.8538 MB / 359.8 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.07976, allocations: 0 / 359.8 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.07978, allocations: 4 kB / 359.8 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.08112, allocations: 0.5918 MB / 360.4 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.08115, allocations: 8 kB / 360.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.08249, allocations: 0.9858 MB / 361.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.08249, allocations: 0 / 361.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.08321, allocations: 0.5325 MB / 361.9 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.08335, allocations: 55.66 kB / 362 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.08341, allocations: 12 kB / 362 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.0836, allocations: 4 kB / 362 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.08367, allocations: 19.95 kB / 362 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.0837, allocations: 12 kB / 362.1 MB, free: 4.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.08382, allocations: 96.62 kB / 362.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08382, allocations: 0 / 362.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009063/0.08473, allocations: 275.2 kB / 362.4 MB, free: 4.223 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006057/0.08533, allocations: 446 kB / 362.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000892/0.08623, allocations: 398.8 kB / 363.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.08623, allocations: 4 kB / 363.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.08664, allocations: 300.2 kB / 363.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.08718, allocations: 253.7 kB / 363.8 MB, free: 2.859 MB / 330.7 MB Error: Error parsing unit l/(cmH2O.s): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.08848, allocations: 0.7822 MB / 364.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.227e-05/0.08854, allocations: 113.7 kB / 364.7 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.924e-05/0.08861, allocations: 31.28 kB / 364.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.08883, allocations: 157.2 kB / 364.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.08883, allocations: 0 / 364.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of Templates: time 0.0163/0.1051, allocations: 18.11 MB / 383 MB, free: 15.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.112746251747012]