Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.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.08407/0.08407, allocations: 11.15 MB / 30.94 MB, free: 4.781 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.001083/0.001083, allocations: 94.34 kB / 38.65 MB, free: 6.891 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.001679/0.001679, allocations: 160.6 kB / 46.45 MB, free: 10.18 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.9858/0.9858, allocations: 177.2 MB / 231.3 MB, free: 2.004 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.1986/0.1986, allocations: 17.62 MB / 309.9 MB, free: 1.887 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.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 391.7 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.082e-05, allocations: 6.25 kB / 391.7 MB, free: 4.422 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_4element): time 0.3406/0.3407, allocations: 66.56 MB / 458.3 MB, free: 46.79 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.00492/0.3456, allocations: 4.431 MB / 462.7 MB, free: 46.59 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.3459, allocations: 20.81 kB / 462.7 MB, free: 46.57 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.3465, allocations: 217.5 kB / 463 MB, free: 46.5 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.3511, allocations: 2.552 MB / 465.5 MB, free: 45.79 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.355, allocations: 2.165 MB / 467.7 MB, free: 45.08 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008771/0.3559, allocations: 1.354 MB / 469 MB, free: 44.76 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.3563, allocations: 399.1 kB / 469.4 MB, free: 44.72 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.3579, allocations: 1.325 MB / 470.7 MB, free: 44.45 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.3584, allocations: 499.1 kB / 471.2 MB, free: 44.4 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.3584, allocations: 62.16 kB / 471.3 MB, free: 44.4 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.3609, allocations: 1.622 MB / 472.9 MB, free: 44.22 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.361, allocations: 172.4 kB / 473.1 MB, free: 44.19 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.3612, allocations: 249.2 kB / 473.3 MB, free: 44.17 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.3632, allocations: 2.26 MB / 475.6 MB, free: 43.76 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3632, allocations: 1.094 kB / 475.6 MB, free: 43.76 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3632, allocations: 3.938 kB / 475.6 MB, free: 43.76 MB / 394.8 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3632, allocations: 0 / 475.6 MB, free: 43.76 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00133/0.3645, allocations: 1.153 MB / 476.7 MB, free: 43.04 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3646, allocations: 11.03 kB / 476.8 MB, free: 43.04 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3647, allocations: 91.41 kB / 476.8 MB, free: 43.01 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.3651, allocations: 371.8 kB / 477.2 MB, free: 42.81 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.3652, allocations: 33.47 kB / 477.2 MB, free: 42.81 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.3652, allocations: 43.97 kB / 477.3 MB, free: 42.81 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.3658, allocations: 435.6 kB / 477.7 MB, free: 42.66 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3658, allocations: 1.062 kB / 477.7 MB, free: 42.66 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.3658, allocations: 16.16 kB / 477.7 MB, free: 42.66 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.3658, allocations: 13.98 kB / 477.7 MB, free: 42.66 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.3661, allocations: 235.2 kB / 478 MB, free: 42.65 MB / 394.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3678, allocations: 1.683 MB / 479.7 MB, free: 41.76 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.3682, allocations: 252.5 kB / 479.9 MB, free: 41.71 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3684, allocations: 126.3 kB / 480 MB, free: 41.69 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007654/0.3692, allocations: 0.7318 MB / 480.8 MB, free: 41.33 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3694, allocations: 192.4 kB / 480.9 MB, free: 41.23 MB / 394.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001238/0.3695, allocations: 53.17 kB / 481 MB, free: 41.21 MB / 394.8 MB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.3695, allocations: 0 / 481 MB, free: 41.21 MB / 394.8 MB Notification: Performance of matching and sorting (n=41): time 0.0008486/0.3704, allocations: 440.5 kB / 481.4 MB, free: 41.12 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.3704, allocations: 57.33 kB / 481.5 MB, free: 41.06 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.3706, allocations: 380.5 kB / 481.9 MB, free: 40.88 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3707, allocations: 36.7 kB / 481.9 MB, free: 40.84 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3708, allocations: 309 kB / 482.2 MB, free: 40.64 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.3708, allocations: 151 kB / 482.3 MB, free: 40.55 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.3709, allocations: 103.7 kB / 482.4 MB, free: 40.52 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.371, allocations: 0.5327 MB / 483 MB, free: 40.02 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3711, allocations: 76.88 kB / 483 MB, free: 40.02 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3713, allocations: 207.2 kB / 483.2 MB, free: 39.88 MB / 394.8 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.3719, allocations: 499.8 kB / 483.7 MB, free: 39.72 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3719, allocations: 1.875 kB / 483.7 MB, free: 39.72 MB / 394.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005516/0.3725, allocations: 442.8 kB / 484.2 MB, free: 39.61 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3725, allocations: 7.062 kB / 484.2 MB, free: 39.61 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3725, allocations: 1.719 kB / 484.2 MB, free: 39.61 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.3726, allocations: 61.84 kB / 484.2 MB, free: 39.58 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3729, allocations: 98.66 kB / 484.3 MB, free: 39.57 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003386/0.3732, allocations: 1.609 MB / 485.9 MB, free: 37.97 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3734, allocations: 24.19 kB / 486 MB, free: 37.97 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.3734, allocations: 18.33 kB / 486 MB, free: 37.97 MB / 394.8 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.3735, allocations: 182.7 kB / 486.2 MB, free: 37.8 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.3736, allocations: 53.67 kB / 486.2 MB, free: 37.78 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.3741, allocations: 454.4 kB / 486.7 MB, free: 37.67 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3741, allocations: 8.125 kB / 486.7 MB, free: 37.67 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3741, allocations: 1.688 kB / 486.7 MB, free: 37.67 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3741, allocations: 3.234 kB / 486.7 MB, free: 37.67 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.375, allocations: 0.8027 MB / 487.5 MB, free: 37.34 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.375, allocations: 0 / 487.5 MB, free: 37.34 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3751, allocations: 63.62 kB / 487.5 MB, free: 37.34 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.3753, allocations: 62.22 kB / 487.6 MB, free: 37.3 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3753, allocations: 15.53 kB / 487.6 MB, free: 37.3 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003245/0.3756, allocations: 1.597 MB / 489.2 MB, free: 35.71 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3756, allocations: 4.594 kB / 489.2 MB, free: 35.71 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.3762, allocations: 0.5835 MB / 489.8 MB, free: 35.45 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3763, allocations: 75.31 kB / 489.9 MB, free: 35.42 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.3763, allocations: 8.906 kB / 489.9 MB, free: 35.42 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3764, allocations: 18.86 kB / 489.9 MB, free: 35.42 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.3765, allocations: 36.94 kB / 489.9 MB, free: 35.42 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.3765, allocations: 15.14 kB / 489.9 MB, free: 35.42 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001368/0.3767, allocations: 251.9 kB / 490.2 MB, free: 35.29 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3767, allocations: 0 / 490.2 MB, free: 35.29 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.001244/0.3779, allocations: 0.5864 MB / 490.8 MB, free: 35.12 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.3791, allocations: 0.9676 MB / 491.7 MB, free: 34.83 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3795, allocations: 277.8 kB / 492 MB, free: 34.78 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3795, allocations: 0 / 492 MB, free: 34.78 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.3796, allocations: 154.9 kB / 492.2 MB, free: 34.75 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.3802, allocations: 215.9 kB / 492.4 MB, free: 34.68 MB / 394.8 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3821, allocations: 1.003 MB / 493.4 MB, free: 34.11 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.3822, allocations: 130 kB / 493.5 MB, free: 34.03 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.3823, allocations: 94.67 kB / 493.6 MB, free: 34 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3826, allocations: 240.5 kB / 493.8 MB, free: 33.92 MB / 394.8 MB Notification: Performance of SimCode: time 9.71e-07/0.3826, allocations: 0 / 493.8 MB, free: 33.92 MB / 394.8 MB Notification: Performance of Templates: time 0.02051/0.4031, allocations: 22.7 MB / 0.5044 GB, free: 28.3 MB / 394.8 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.757760377135128]