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.06924/0.06924, allocations: 11.16 MB / 30.72 MB, free: 4.453 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.0009861/0.0009861, allocations: 102.6 kB / 38.4 MB, free: 6.996 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.001302/0.001302, allocations: 164.5 kB / 46.17 MB, free: 10.32 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.9816/0.9816, allocations: 177.2 MB / 231 MB, free: 4.793 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.1054/0.1054, allocations: 17.63 MB / 309.5 MB, free: 8.727 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 2.034e-06/2.034e-06, allocations: 0.7656 kB / 391.2 MB, free: 46.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.183e-05, allocations: 2.312 kB / 391.3 MB, free: 46.14 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.02727/0.0273, allocations: 17.89 MB / 409.1 MB, free: 28.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.02877, allocations: 1.698 MB / 410.8 MB, free: 26.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.02895, allocations: 11.88 kB / 410.9 MB, free: 26.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.02928, allocations: 67.47 kB / 410.9 MB, free: 26.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.03154, allocations: 1.024 MB / 411.9 MB, free: 25.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.03182, allocations: 147.7 kB / 412.1 MB, free: 25.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.03224, allocations: 0.5638 MB / 412.7 MB, free: 24.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006038/0.03285, allocations: 0.7241 MB / 413.4 MB, free: 24.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.03412, allocations: 0.8492 MB / 414.2 MB, free: 23.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.03464, allocations: 0.573 MB / 414.8 MB, free: 22.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.03473, allocations: 72 kB / 414.9 MB, free: 22.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.03603, allocations: 0.7015 MB / 415.6 MB, free: 21.85 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.03618, allocations: 275.3 kB / 415.8 MB, free: 21.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.03636, allocations: 271.5 kB / 416.1 MB, free: 21.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.03776, allocations: 1.394 MB / 417.5 MB, free: 19.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.03776, allocations: 3.938 kB / 417.5 MB, free: 19.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03776, allocations: 4 kB / 417.5 MB, free: 19.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.03777, allocations: 0 / 417.5 MB, free: 19.91 MB / 330.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.001115/0.03889, allocations: 0.8183 MB / 418.3 MB, free: 19.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.03893, allocations: 8.031 kB / 418.3 MB, free: 19.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.03909, allocations: 60.7 kB / 418.4 MB, free: 18.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.03947, allocations: 370.8 kB / 418.8 MB, free: 18.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.0395, allocations: 16.88 kB / 418.8 MB, free: 18.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.03955, allocations: 28.12 kB / 418.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.04011, allocations: 0.5119 MB / 419.3 MB, free: 18.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.04012, allocations: 0 / 419.3 MB, free: 18.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.04016, allocations: 8 kB / 419.3 MB, free: 18.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.04017, allocations: 8 kB / 419.3 MB, free: 18.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.0409, allocations: 0.6819 MB / 420 MB, free: 17.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.04228, allocations: 1.07 MB / 421.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.04265, allocations: 223.1 kB / 421.3 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.04289, allocations: 176.1 kB / 421.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.04308, allocations: 43.95 kB / 421.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.0431, allocations: 37.39 kB / 421.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006187/0.04371, allocations: 284.5 kB / 421.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.514e-06/0.04372, allocations: 0 / 421.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.003577/0.04729, allocations: 1.474 MB / 423.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.04732, allocations: 55.41 kB / 423.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.04749, allocations: 314.3 kB / 423.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.04752, allocations: 33.7 kB / 423.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.04759, allocations: 211.6 kB / 423.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.04765, allocations: 119 kB / 424 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.04775, allocations: 87.28 kB / 424.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.04782, allocations: 0.5195 MB / 424.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.04797, allocations: 123.9 kB / 424.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.04812, allocations: 124.2 kB / 424.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.04847, allocations: 295.6 kB / 425.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.04847, allocations: 0 / 425.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009315/0.0494, allocations: 0.63 MB / 425.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.04942, allocations: 4 kB / 425.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.04943, allocations: 3.938 kB / 425.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/0.07227, allocations: 3.809 MB / 429.6 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.07232, allocations: 11.94 kB / 429.6 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.07392, allocations: 1.35 MB / 431 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.07413, allocations: 4 kB / 431 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.07418, allocations: 35.95 kB / 431 MB, free: 6.148 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.0001832/0.07436, allocations: 168.5 kB / 431.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.07445, allocations: 39.81 kB / 431.2 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.07568, allocations: 0.7344 MB / 431.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.07569, allocations: 8 kB / 431.9 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.0757, allocations: 4 kB / 431.9 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.07571, allocations: 3.984 kB / 432 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.07721, allocations: 1.211 MB / 433.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.07722, allocations: 0 / 433.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.07725, allocations: 4 kB / 433.2 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009765/0.07823, allocations: 0.6419 MB / 433.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.07825, allocations: 12 kB / 433.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.07959, allocations: 1.384 MB / 435.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.07959, allocations: 3.938 kB / 435.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.08031, allocations: 0.7073 MB / 435.9 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.08047, allocations: 71.73 kB / 436 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.08052, allocations: 8 kB / 436 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.08065, allocations: 8 kB / 436 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.08075, allocations: 19.95 kB / 436 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.08078, allocations: 15.98 kB / 436 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.08095, allocations: 230.9 kB / 436.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08095, allocations: 0 / 436.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.08165, allocations: 279.1 kB / 436.5 MB, free: 488 kB / 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.0006459/0.08229, allocations: 449.3 kB / 437 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.08362, allocations: 0.5093 MB / 437.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.08362, allocations: 0 / 437.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006241/0.08425, allocations: 343.2 kB / 437.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.08495, allocations: 253.9 kB / 438.1 MB, free: 14.96 MB / 346.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.001795/0.08675, allocations: 0.7845 MB / 438.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.08686, allocations: 117.6 kB / 439 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.08701, allocations: 31.22 kB / 439 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.08707, allocations: 24.5 kB / 439 MB, free: 13.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.08708, allocations: 0 / 439 MB, free: 13.96 MB / 346.7 MB Notification: Performance of Templates: time 0.0205/0.1076, allocations: 17.99 MB / 457 MB, free: 12.16 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.5971299246884882]