Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.conf.json 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.0009381/0.0009381, allocations: 80.88 kB / 20.8 MB, free: 3.656 MB / 18.57 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.0009631/0.0009631, allocations: 165 kB / 24.22 MB, free: 240 kB / 18.57 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.9308/0.9308, allocations: 177.2 MB / 204.7 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05907/0.05907, allocations: 12.76 MB / 273.9 MB, free: 112 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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) Running command: translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 295.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.878e-05, allocations: 2.312 kB / 295.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.01062/0.01064, allocations: 4.658 MB / 299.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.0126, allocations: 1.028 MB / 300.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.01283, allocations: 16.5 kB / 300.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.01304, allocations: 92.34 kB / 300.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.01654, allocations: 268.5 kB / 301.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.01683, allocations: 159.4 kB / 301.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.01739, allocations: 0.8135 MB / 302.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.01763, allocations: 132.7 kB / 302.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.01813, allocations: 419.7 kB / 302.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.01844, allocations: 248.8 kB / 302.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.01849, allocations: 44.03 kB / 302.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.956e-05/0.01857, allocations: 45.88 kB / 303 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.01863, allocations: 112.8 kB / 303.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.01881, allocations: 213.9 kB / 303.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.01922, allocations: 454.3 kB / 303.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01922, allocations: 0.7031 kB / 303.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01922, allocations: 4 kB / 303.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.01923, allocations: 1.469 kB / 303.7 MB, free: 6.363 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0006662/0.01989, allocations: 0.7132 MB / 304.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.01993, allocations: 12.2 kB / 304.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.02001, allocations: 70.75 kB / 304.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.0203, allocations: 294.1 kB / 304.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.02037, allocations: 141.8 kB / 305 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.02041, allocations: 39.88 kB / 305 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.02078, allocations: 408.3 kB / 305.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.02079, allocations: 2.156 kB / 305.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.02081, allocations: 21.44 kB / 305.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.02082, allocations: 11.2 kB / 305.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.02101, allocations: 119.8 kB / 305.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008326/0.02184, allocations: 0.6473 MB / 306.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.02205, allocations: 197.4 kB / 306.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.02229, allocations: 204.5 kB / 306.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.02231, allocations: 8.891 kB / 306.6 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.02245, allocations: 260.5 kB / 306.9 MB, free: 4.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.532e-06/0.02245, allocations: 1.406 kB / 306.9 MB, free: 4.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0002734/0.02273, allocations: 209.6 kB / 307.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.02275, allocations: 55.84 kB / 307.1 MB, free: 4.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.02286, allocations: 279.2 kB / 307.4 MB, free: 4.082 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.02288, allocations: 33.17 kB / 307.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.02294, allocations: 202 kB / 307.6 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.02299, allocations: 117.6 kB / 307.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.02306, allocations: 75.75 kB / 307.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.02311, allocations: 354.8 kB / 308.2 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.02317, allocations: 35.61 kB / 308.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.02324, allocations: 79.94 kB / 308.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.02339, allocations: 162.6 kB / 308.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02339, allocations: 4 kB / 308.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001712/0.02356, allocations: 199 kB / 308.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.02357, allocations: 8 kB / 308.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.02358, allocations: 0 / 308.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.02359, allocations: 4 kB / 308.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.02392, allocations: 131.8 kB / 308.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.02393, allocations: 4 kB / 308.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.02404, allocations: 51.75 kB / 308.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.02405, allocations: 8 kB / 308.8 MB, free: 2.789 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: rightHeart.pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real rightHeart.pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real leftHeart.pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real leftHeart.pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.rightHeart.pulses.HP,$PRE.rightHeart.pulses.T0,rightHeart.pulses.b,$whenCondition1,$PRE.leftHeart.pulses.HP,$PRE.leftHeart.pulses.T0,leftHeart.pulses.b,$whenCondition2,leftHeart.pulses.TD2,leftHeart.pulses.HP,leftHeart.pulses.T0,rightHeart.pulses.TD2,rightHeart.pulses.HP,rightHeart.pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.02416, allocations: 146.8 kB / 309 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.02419, allocations: 43.89 kB / 309 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.02439, allocations: 201.4 kB / 309.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02439, allocations: 4 kB / 309.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.02439, allocations: 0 / 309.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.0244, allocations: 0 / 309.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.0248, allocations: 492.7 kB / 309.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0248, allocations: 3.984 kB / 309.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.02508, allocations: 107.8 kB / 309.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.02509, allocations: 0 / 309.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.0251, allocations: 11.98 kB / 309.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.0251, allocations: 4 kB / 309.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02511, allocations: 0.5469 kB / 309.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.02536, allocations: 344.4 kB / 310.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.02538, allocations: 31.7 kB / 310.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.02541, allocations: 15.98 kB / 310.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.02552, allocations: 19.98 kB / 310.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.02556, allocations: 27.94 kB / 310.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.02558, allocations: 12 kB / 310.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.02563, allocations: 104.6 kB / 310.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02563, allocations: 0 / 310.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.02583, allocations: 151.7 kB / 310.5 MB, free: 1.039 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.volume,PulmonaryVeins.volume,SystemicVeins.volume,SystemicArteries.volume) * Number of discrete variables: 10 (leftHeart.pulses.b,rightHeart.pulses.b,$whenCondition2,$whenCondition1,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 4 (rightHeart.pulses.T0,rightHeart.pulses.HP,leftHeart.pulses.T0,leftHeart.pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.708e-05/0.0259, allocations: 93 kB / 310.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.02609, allocations: 165.5 kB / 310.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.0261, allocations: 4 kB / 310.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.02618, allocations: 101.1 kB / 310.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.02645, allocations: 111.2 kB / 311 MB, free: 0.5742 MB / 266.7 MB Error: Error parsing unit (Pa.s)/m3: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.02768, allocations: 0.8041 MB / 311.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.957e-05/0.02774, allocations: 109.1 kB / 311.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.02787, allocations: 50.95 kB / 311.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.02808, allocations: 153.2 kB / 312.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02808, allocations: 0 / 312.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of Templates: time 0.01098/0.03906, allocations: 5.792 MB / 317.9 MB, free: 9.789 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8577724248170853]