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.06153/0.06153, allocations: 11.15 MB / 31.25 MB, free: 4.934 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.001386/0.001386, allocations: 96.08 kB / 38.88 MB, free: 7.387 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.001826/0.001826, allocations: 168.5 kB / 46.58 MB, free: 10.75 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.9844/0.9844, allocations: 177.2 MB / 231.4 MB, free: 4.801 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.1073/0.1073, allocations: 17.63 MB / 309.8 MB, free: 8.832 MB / 282.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.844e-06/1.844e-06, allocations: 4.812 kB / 391.2 MB, free: 46.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.57e-05, allocations: 2.312 kB / 391.2 MB, free: 46.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.02226/0.02229, allocations: 35.29 MB / 426.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.03419, allocations: 18.01 MB / 444.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.03458, allocations: 7.938 kB / 444.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.03512, allocations: 119 kB / 444.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.03927, allocations: 1.824 MB / 446.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.04232, allocations: 1.39 MB / 447.8 MB, free: 5.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.04297, allocations: 0.5677 MB / 448.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.04362, allocations: 0.7241 MB / 449.1 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.04545, allocations: 1.367 MB / 450.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.046, allocations: 0.5692 MB / 451 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.04607, allocations: 80 kB / 451.1 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.05014, allocations: 1.936 MB / 453.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.05038, allocations: 275.3 kB / 453.3 MB, free: 296 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.05062, allocations: 263.6 kB / 453.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.05537, allocations: 2.748 MB / 456.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.05538, allocations: 0 / 456.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.05538, allocations: 0 / 456.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.05539, allocations: 4 kB / 456.3 MB, free: 13.27 MB / 362.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.001381/0.05677, allocations: 1.034 MB / 457.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.05681, allocations: 12.03 kB / 457.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.05697, allocations: 59.72 kB / 457.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.05742, allocations: 367.8 kB / 457.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.05745, allocations: 16.5 kB / 457.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.0575, allocations: 24 kB / 457.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.05813, allocations: 0.5196 MB / 458.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.05814, allocations: 3.938 kB / 458.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.05819, allocations: 8 kB / 458.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.0582, allocations: 4 kB / 458.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.05904, allocations: 0.6858 MB / 459.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.06061, allocations: 1.058 MB / 460.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.06106, allocations: 223.1 kB / 460.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.06135, allocations: 180.1 kB / 460.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.06154, allocations: 43.95 kB / 460.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.06157, allocations: 41.38 kB / 460.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007018/0.06227, allocations: 279.6 kB / 460.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.345e-06/0.06227, allocations: 3.938 kB / 460.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.004129/0.0664, allocations: 1.47 MB / 462.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.06646, allocations: 55.41 kB / 462.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.06671, allocations: 318.3 kB / 462.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.06674, allocations: 33.7 kB / 462.7 MB, free: 6.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.06686, allocations: 215.6 kB / 463 MB, free: 6.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.06694, allocations: 107.1 kB / 463.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.06706, allocations: 95.27 kB / 463.2 MB, free: 6.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.06722, allocations: 0.5117 MB / 463.7 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.0674, allocations: 131.8 kB / 463.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.0676, allocations: 128.2 kB / 463.9 MB, free: 5.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.06803, allocations: 291.6 kB / 464.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.06803, allocations: 0 / 464.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001165/0.0692, allocations: 0.6261 MB / 464.8 MB, free: 4.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.06923, allocations: 8 kB / 464.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.06924, allocations: 0 / 464.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02472/0.09396, allocations: 3.804 MB / 468.6 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/0.09399, allocations: 7.938 kB / 468.6 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.09581, allocations: 1.354 MB / 470 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.096, allocations: 4 kB / 470 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.09605, allocations: 35.95 kB / 470 MB, free: 15.29 MB / 378.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.0001674/0.09622, allocations: 168.5 kB / 470.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.09631, allocations: 43.75 kB / 470.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.09741, allocations: 0.7458 MB / 471 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.09742, allocations: 8 kB / 471 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09743, allocations: 0 / 471 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.09743, allocations: 3.984 kB / 471 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.09879, allocations: 1.207 MB / 472.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.09879, allocations: 0 / 472.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.09881, allocations: 4 kB / 472.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009745/0.09979, allocations: 0.6419 MB / 472.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.09981, allocations: 8 kB / 472.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.101, allocations: 1.396 MB / 474.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.101, allocations: 0 / 474.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.1017, allocations: 0.6998 MB / 475 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1018, allocations: 75.69 kB / 475 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.1019, allocations: 11.98 kB / 475 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.102, allocations: 4 kB / 475.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.102, allocations: 23.95 kB / 475.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.1021, allocations: 19.98 kB / 475.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1022, allocations: 219 kB / 475.3 MB, free: 9.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1022, allocations: 0 / 475.3 MB, free: 9.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00133/0.1035, allocations: 0.603 MB / 475.9 MB, free: 9.285 MB / 378.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.001497/0.105, allocations: 1.093 MB / 477 MB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.1063, allocations: 0.5052 MB / 477.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1063, allocations: 3.938 kB / 477.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.1068, allocations: 343.2 kB / 477.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.1075, allocations: 234.9 kB / 478.1 MB, free: 7.141 MB / 378.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.001766/0.1093, allocations: 0.8113 MB / 478.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.1094, allocations: 109.8 kB / 479 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.597e-05/0.1094, allocations: 31.28 kB / 479 MB, free: 6.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.1095, allocations: 20.5 kB / 479 MB, free: 6.121 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1095, allocations: 0 / 479 MB, free: 6.121 MB / 378.7 MB Notification: Performance of Templates: time 0.02381/0.1333, allocations: 24.32 MB / 0.4916 GB, free: 14 MB / 410.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.859754328848794]