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.05166/0.05166, allocations: 11.15 MB / 31.73 MB, free: 3.926 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.0008516/0.0008516, allocations: 99.56 kB / 39.45 MB, free: 6.395 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.0009751/0.0009751, allocations: 152.6 kB / 47.24 MB, free: 9.609 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.8926/0.8926, allocations: 177.2 MB / 232.1 MB, free: 4.633 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.08937/0.08937, allocations: 17.64 MB / 310.7 MB, free: 8.57 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.363e-06/1.363e-06, allocations: 0 / 392.5 MB, free: 45.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.383e-05, allocations: 2.312 kB / 392.5 MB, free: 45.89 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.01564/0.01566, allocations: 17.69 MB / 410.2 MB, free: 28.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.01755, allocations: 1.686 MB / 411.9 MB, free: 26.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.01774, allocations: 7.938 kB / 411.9 MB, free: 26.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.01803, allocations: 63.47 kB / 412 MB, free: 26.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.02029, allocations: 1.024 MB / 413 MB, free: 25.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.02058, allocations: 143.7 kB / 413.1 MB, free: 25.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.02106, allocations: 0.5638 MB / 413.7 MB, free: 24.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007471/0.02181, allocations: 0.728 MB / 414.4 MB, free: 24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.02317, allocations: 0.8376 MB / 415.3 MB, free: 23.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007404/0.02391, allocations: 0.5769 MB / 415.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-05/0.02401, allocations: 76 kB / 415.9 MB, free: 22.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.02529, allocations: 0.7092 MB / 416.6 MB, free: 21.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.02548, allocations: 271.4 kB / 416.9 MB, free: 21.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.02572, allocations: 263.6 kB / 417.2 MB, free: 21.28 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.02729, allocations: 1.394 MB / 418.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.0273, allocations: 0 / 418.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.0273, allocations: 0 / 418.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.0273, allocations: 4 kB / 418.6 MB, free: 19.88 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.001023/0.02832, allocations: 0.8299 MB / 419.4 MB, free: 19.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.02835, allocations: 12.03 kB / 419.4 MB, free: 19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.02849, allocations: 56.7 kB / 419.4 MB, free: 18.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.02881, allocations: 348.4 kB / 419.8 MB, free: 18.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.02883, allocations: 24.81 kB / 419.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.02888, allocations: 28.12 kB / 419.8 MB, free: 18.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.0293, allocations: 476.2 kB / 420.3 MB, free: 18.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.02931, allocations: 0 / 420.3 MB, free: 18.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.02934, allocations: 8 kB / 420.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.02935, allocations: 8 kB / 420.3 MB, free: 18.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.02989, allocations: 0.5789 MB / 420.9 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.03106, allocations: 1.001 MB / 421.9 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.03131, allocations: 195.1 kB / 422.1 MB, free: 16.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.03147, allocations: 152.1 kB / 422.2 MB, free: 16.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.03159, allocations: 35.97 kB / 422.3 MB, free: 16.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.0316, allocations: 45.31 kB / 422.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006332/0.03223, allocations: 275.6 kB / 422.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.03224, allocations: 0 / 422.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.003395/0.03563, allocations: 1.376 MB / 424 MB, free: 14.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.03565, allocations: 55.41 kB / 424 MB, free: 14.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.03578, allocations: 314.2 kB / 424.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.0358, allocations: 29.7 kB / 424.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.03587, allocations: 223.5 kB / 424.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.03592, allocations: 107 kB / 424.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.03601, allocations: 95.25 kB / 424.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.03606, allocations: 0.5234 MB / 425.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.03617, allocations: 95.89 kB / 425.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.03628, allocations: 104.2 kB / 425.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.03653, allocations: 247.6 kB / 425.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.03653, allocations: 0 / 425.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007992/0.03733, allocations: 0.548 MB / 426.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.03735, allocations: 8 kB / 426.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.03735, allocations: 0 / 426.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02397/0.06132, allocations: 3.757 MB / 430 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.947e-05/0.06135, allocations: 4 kB / 430 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.06275, allocations: 1.323 MB / 431.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.06293, allocations: 4 kB / 431.4 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.06297, allocations: 35.89 kB / 431.4 MB, free: 6.754 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.0001348/0.0631, allocations: 164.6 kB / 431.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.06319, allocations: 43.75 kB / 431.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007959/0.06398, allocations: 0.6571 MB / 432.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.06399, allocations: 8 kB / 432.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.06399, allocations: 0 / 432.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.06399, allocations: 3.984 kB / 432.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.06493, allocations: 1.079 MB / 433.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.06494, allocations: 4 kB / 433.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.06495, allocations: 4 kB / 433.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007993/0.06575, allocations: 0.6145 MB / 434 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.06577, allocations: 11.98 kB / 434 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007991/0.06657, allocations: 1.314 MB / 435.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.06657, allocations: 7.984 kB / 435.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.06701, allocations: 0.6327 MB / 435.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.06711, allocations: 71.75 kB / 436 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.06714, allocations: 4 kB / 436 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.06725, allocations: 8 kB / 436 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.0673, allocations: 23.95 kB / 436.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.06732, allocations: 8 kB / 436.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.0674, allocations: 214.9 kB / 436.3 MB, free: 1.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0674, allocations: 4 kB / 436.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005086/0.06791, allocations: 275.1 kB / 436.5 MB, free: 1.492 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.0004567/0.06836, allocations: 472.4 kB / 437 MB, free: 1.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.0693, allocations: 455.4 kB / 437.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.0693, allocations: 0 / 437.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.06972, allocations: 327.1 kB / 437.8 MB, free: 260 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.07029, allocations: 234.3 kB / 438 MB, free: 44 kB / 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.001405/0.0717, allocations: 0.7852 MB / 438.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.07176, allocations: 113.7 kB / 438.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.772e-05/0.07186, allocations: 27.28 kB / 438.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.0721, allocations: 202 kB / 439.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0721, allocations: 3.938 kB / 439.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Templates: time 0.01762/0.08972, allocations: 18.38 MB / 457.5 MB, free: 12.7 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.2454716190695763]