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.1223/0.1223, allocations: 11.16 MB / 30.51 MB, free: 4.906 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.001331/0.001331, allocations: 95.69 kB / 38.14 MB, free: 7.203 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.001555/0.001555, allocations: 160.5 kB / 45.85 MB, free: 10.6 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 1.536/1.536, allocations: 177.2 MB / 230.6 MB, free: 4.781 MB / 202.7 MB " [Timeout remaining time 178] 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.1476/0.1476, allocations: 17.63 MB / 309.1 MB, free: 8.809 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.944e-06/1.944e-06, allocations: 0 / 390.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.324e-05, allocations: 3.156 kB / 390.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.02305/0.02307, allocations: 31.06 MB / 421.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.03465, allocations: 15.67 MB / 437.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.03495, allocations: 11.88 kB / 437.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.03539, allocations: 115.1 kB / 437.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.04019, allocations: 1.835 MB / 439.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.04382, allocations: 1.382 MB / 440.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.04463, allocations: 0.5676 MB / 441.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.04566, allocations: 0.728 MB / 441.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.04846, allocations: 1.371 MB / 443.2 MB, free: 9.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000946/0.04941, allocations: 0.5653 MB / 443.7 MB, free: 9.176 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.04953, allocations: 76 kB / 443.8 MB, free: 9.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.05436, allocations: 1.936 MB / 445.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.05468, allocations: 275.3 kB / 446 MB, free: 6.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.05515, allocations: 259.6 kB / 446.3 MB, free: 6.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006548/0.0617, allocations: 3.005 MB / 449.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.0617, allocations: 3.938 kB / 449.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.06171, allocations: 0 / 449.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.06172, allocations: 0 / 449.3 MB, free: 3.617 MB / 346.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.002885/0.06461, allocations: 0.9387 MB / 450.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.06465, allocations: 8.031 kB / 450.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.06491, allocations: 55.77 kB / 450.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.06573, allocations: 384.9 kB / 450.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.06576, allocations: 12.5 kB / 450.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.009e-05/0.06585, allocations: 24 kB / 450.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.0672, allocations: 0.7141 MB / 451.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.06721, allocations: 0 / 451.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-05/0.06728, allocations: 8 kB / 451.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.06729, allocations: 12 kB / 451.4 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.06927, allocations: 1.071 MB / 452.5 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.07217, allocations: 1.211 MB / 453.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.07294, allocations: 334.6 kB / 454 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.07354, allocations: 293.2 kB / 454.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.07377, allocations: 47.95 kB / 454.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.0738, allocations: 30.56 kB / 454.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001418/0.07521, allocations: 279.5 kB / 454.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.07522, allocations: 0 / 454.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.009808/0.08502, allocations: 2.025 MB / 456.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.08508, allocations: 67.28 kB / 456.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.08561, allocations: 304.2 kB / 457 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.08567, allocations: 29.7 kB / 457.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.08581, allocations: 164.8 kB / 457.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.08594, allocations: 107.1 kB / 457.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.08612, allocations: 89.61 kB / 457.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.08631, allocations: 346.8 kB / 457.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.08675, allocations: 231.8 kB / 458 MB, free: 10.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.08719, allocations: 235.9 kB / 458.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009802/0.08817, allocations: 0.5022 MB / 458.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.08817, allocations: 0 / 458.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002441/0.09061, allocations: 0.9274 MB / 459.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.09063, allocations: 4 kB / 459.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.09064, allocations: 0 / 459.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0526/0.1432, allocations: 4.238 MB / 463.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-05/0.1433, allocations: 3.938 kB / 463.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.147, allocations: 1.536 MB / 465.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.1473, allocations: 7.984 kB / 465.4 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.1474, allocations: 23.97 kB / 465.5 MB, free: 3.191 MB / 362.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.0002583/0.1476, allocations: 157.8 kB / 465.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.1478, allocations: 43.75 kB / 465.7 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.1501, allocations: 1.055 MB / 466.7 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.1501, allocations: 4 kB / 466.7 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1501, allocations: 0 / 466.7 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.1501, allocations: 3.984 kB / 466.7 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.1529, allocations: 1.6 MB / 468.3 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1529, allocations: 0 / 468.3 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.153, allocations: 0 / 468.3 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/0.1553, allocations: 0.7874 MB / 469.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.1553, allocations: 8 kB / 469.1 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.158, allocations: 1.57 MB / 470.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.158, allocations: 0 / 470.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.1598, allocations: 0.9579 MB / 471.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.16, allocations: 79.64 kB / 471.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.1601, allocations: 4 kB / 471.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1603, allocations: 8 kB / 471.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.1604, allocations: 19.95 kB / 471.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.1604, allocations: 16 kB / 471.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002705/0.1607, allocations: 219.1 kB / 472 MB, free: 12.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1607, allocations: 0 / 472 MB, free: 12.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001631/0.1623, allocations: 0.5992 MB / 472.6 MB, free: 11.95 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.002094/0.1644, allocations: 1.099 MB / 473.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.167, allocations: 0.713 MB / 474.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.167, allocations: 0 / 474.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.1682, allocations: 444.3 kB / 474.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.1694, allocations: 249.7 kB / 475.1 MB, free: 9.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.171, allocations: 0.8637 MB / 475.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1713, allocations: 197 kB / 476.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.1714, allocations: 31.28 kB / 476.2 MB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.1715, allocations: 20.5 kB / 476.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1715, allocations: 0 / 476.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Templates: time 0.04064/0.2121, allocations: 24.29 MB / 0.4887 GB, free: 248 kB / 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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.838416927028447]