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.06065/0.06065, allocations: 11.15 MB / 30.94 MB, free: 4.305 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.0008474/0.0008474, allocations: 98.77 kB / 38.65 MB, free: 6.758 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.001496/0.001496, allocations: 156.6 kB / 46.45 MB, free: 10.05 MB / 44.04 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.9277/0.9277, allocations: 177.1 MB / 231.3 MB, free: 5.898 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.101/0.101, allocations: 17.64 MB / 309.9 MB, free: 2.727 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.643e-06/1.643e-06, allocations: 0 / 391.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.462e-05, allocations: 5.125 kB / 391.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.01584/0.01586, allocations: 17.71 MB / 409.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.0172, allocations: 1.674 MB / 411.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.01733, allocations: 7.938 kB / 411.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.01758, allocations: 67.47 kB / 411.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.01884, allocations: 1.02 MB / 412.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.01904, allocations: 143.7 kB / 412.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.01942, allocations: 0.5716 MB / 412.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.01997, allocations: 0.7205 MB / 413.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009457/0.02092, allocations: 0.8375 MB / 414.5 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.0214, allocations: 0.5769 MB / 415.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.02174, allocations: 76 kB / 415.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007742/0.02251, allocations: 0.7053 MB / 415.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.02268, allocations: 271.4 kB / 416.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.02285, allocations: 271.5 kB / 416.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.02395, allocations: 1.39 MB / 417.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.02395, allocations: 0 / 417.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.02395, allocations: 4 kB / 417.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.02396, allocations: 0 / 417.8 MB, free: 6.648 MB / 378.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.001009/0.02497, allocations: 0.826 MB / 418.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.025, allocations: 12.03 kB / 418.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.02513, allocations: 56.7 kB / 418.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.02549, allocations: 352.3 kB / 419 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.02551, allocations: 20.88 kB / 419 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.02556, allocations: 20.12 kB / 419 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.02602, allocations: 484.2 kB / 419.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.02603, allocations: 0 / 419.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.02607, allocations: 8 kB / 419.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.02607, allocations: 4 kB / 419.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.02665, allocations: 0.5867 MB / 420.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.02796, allocations: 1.008 MB / 421.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.02823, allocations: 187.1 kB / 421.3 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.02841, allocations: 164.1 kB / 421.5 MB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.02854, allocations: 47.95 kB / 421.5 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.02856, allocations: 41.39 kB / 421.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006353/0.0292, allocations: 271.6 kB / 421.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.0292, allocations: 0 / 421.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003833/0.03303, allocations: 1.384 MB / 423.2 MB, free: 1.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.03306, allocations: 51.41 kB / 423.2 MB, free: 1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.03328, allocations: 318.2 kB / 423.6 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.03331, allocations: 33.7 kB / 423.6 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.03341, allocations: 215.5 kB / 423.8 MB, free: 428 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.0335, allocations: 115 kB / 423.9 MB, free: 312 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.03361, allocations: 91.25 kB / 424 MB, free: 212 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.03379, allocations: 0.5195 MB / 424.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.03397, allocations: 99.89 kB / 424.6 MB, free: 15.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.03416, allocations: 100.2 kB / 424.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.03446, allocations: 247.5 kB / 425 MB, free: 15.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.03446, allocations: 0 / 425 MB, free: 15.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008548/0.03531, allocations: 0.5559 MB / 425.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.03533, allocations: 4 kB / 425.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.03533, allocations: 0 / 425.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02255/0.05789, allocations: 3.764 MB / 429.3 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.09e-05/0.05792, allocations: 4 kB / 429.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.05983, allocations: 1.311 MB / 430.6 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.05999, allocations: 4 kB / 430.6 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.06003, allocations: 31.95 kB / 430.6 MB, free: 9.504 MB / 394.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.000158/0.06019, allocations: 172.5 kB / 430.8 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.06027, allocations: 47.7 kB / 430.9 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/0.06115, allocations: 0.6638 MB / 431.5 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.06116, allocations: 7.984 kB / 431.5 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.06116, allocations: 0 / 431.5 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.06117, allocations: 3.938 kB / 431.5 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.0623, allocations: 1.071 MB / 432.6 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.06231, allocations: 0 / 432.6 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.06232, allocations: 4 kB / 432.6 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008776/0.0632, allocations: 0.6222 MB / 433.2 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.06322, allocations: 4 kB / 433.2 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.06424, allocations: 1.324 MB / 434.6 MB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.06424, allocations: 0 / 434.6 MB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.06476, allocations: 0.6214 MB / 435.2 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.06486, allocations: 75.7 kB / 435.2 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.06489, allocations: 8 kB / 435.3 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.06499, allocations: 11.94 kB / 435.3 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.06504, allocations: 19.95 kB / 435.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.06506, allocations: 15.98 kB / 435.3 MB, free: 4.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.782e-05/0.06516, allocations: 211 kB / 435.5 MB, free: 4.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06516, allocations: 0 / 435.5 MB, free: 4.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005354/0.0657, allocations: 275.1 kB / 435.8 MB, free: 4.234 MB / 394.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.0005664/0.06626, allocations: 462.2 kB / 436.2 MB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009565/0.06722, allocations: 465.2 kB / 436.7 MB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.06722, allocations: 0 / 436.7 MB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007573/0.06798, allocations: 323.1 kB / 437 MB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.06862, allocations: 252.7 kB / 437.2 MB, free: 2.754 MB / 394.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.001399/0.07002, allocations: 0.7665 MB / 438 MB, free: 1.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.903e-05/0.07009, allocations: 113.8 kB / 438.1 MB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.07017, allocations: 35.27 kB / 438.2 MB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.07041, allocations: 194.1 kB / 438.3 MB, free: 1.602 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.07041, allocations: 0 / 438.3 MB, free: 1.602 MB / 394.7 MB Notification: Performance of Templates: time 0.1607/0.2311, allocations: 18.14 MB / 456.5 MB, free: 78.39 MB / 394.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.473816131707281]