Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm.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.0008335/0.0008335, allocations: 77.14 kB / 20.66 MB, free: 3.848 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.0008755/0.0008755, allocations: 169 kB / 24.06 MB, free: 460 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.8954/0.8954, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.05284/0.05284, allocations: 12.76 MB / 273.8 MB, free: 116 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.MeursModel2011.HemodynamicsMeurs_flatNorm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm") translateModel(Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 348.1 MB, free: 1.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.936e-06/9.908e-06, allocations: 4.562 kB / 348.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm): time 0.005573/0.005583, allocations: 9.008 MB / 357.1 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.008368, allocations: 2.015 MB / 359.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.00873, allocations: 47.56 kB / 359.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.009053, allocations: 245.5 kB / 359.4 MB, free: 6.469 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation Rpp.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation Rlain.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation Retha.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation Rsart.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation Rsven.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation Rethv.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation Rrain.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeBindings: time 0.0008134/0.009866, allocations: 0.6507 MB / 360.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.01037, allocations: 395.2 kB / 360.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.01174, allocations: 2.15 MB / 362.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.01202, allocations: 204.7 kB / 362.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009987/0.01302, allocations: 1.072 MB / 363.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006235/0.01364, allocations: 0.627 MB / 364.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.01377, allocations: 108 kB / 364.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.01392, allocations: 112 kB / 364.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.01408, allocations: 298.8 kB / 365 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.01446, allocations: 0.5418 MB / 365.6 MB, free: 308 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.01521, allocations: 1.144 MB / 366.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01522, allocations: 0 / 366.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01522, allocations: 0 / 366.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.01523, allocations: 4 kB / 366.7 MB, free: 15.15 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001741/0.01697, allocations: 1.759 MB / 368.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.01701, allocations: 19.92 kB / 368.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.01722, allocations: 235 kB / 368.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.01794, allocations: 0.7303 MB / 369.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.0183, allocations: 0.8799 MB / 370.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.01839, allocations: 92 kB / 370.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008334/0.01922, allocations: 0.943 MB / 371.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.01925, allocations: 7.891 kB / 371.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.0193, allocations: 43.98 kB / 371.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.01932, allocations: 20 kB / 371.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.01978, allocations: 397.6 kB / 371.8 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.02187, allocations: 1.734 MB / 373.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.02277, allocations: 0.7362 MB / 374.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.02305, allocations: 269.5 kB / 374.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.02309, allocations: 28.92 kB / 374.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.02358, allocations: 0.673 MB / 375.3 MB, free: 6.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 2.625e-06/0.02358, allocations: 0 / 375.3 MB, free: 6.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.001349/0.02493, allocations: 1.041 MB / 376.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.02496, allocations: 68.39 kB / 376.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.02536, allocations: 0.6747 MB / 377 MB, free: 4.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.02542, allocations: 53.7 kB / 377.1 MB, free: 4.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.02564, allocations: 0.4962 MB / 377.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.02584, allocations: 396.7 kB / 378 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.02604, allocations: 216.4 kB / 378.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.02617, allocations: 0.5315 MB / 378.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.0264, allocations: 150.5 kB / 378.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.02667, allocations: 330 kB / 379.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.02738, allocations: 0.6902 MB / 379.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.02738, allocations: 4 kB / 379.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.0008548/0.02824, allocations: 0.8269 MB / 380.7 MB, free: 480 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.02825, allocations: 8.031 kB / 380.7 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02825, allocations: 7.938 kB / 380.7 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.02841, allocations: 82.7 kB / 380.8 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.02942, allocations: 375.5 kB / 381.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.03186, allocations: 6.843 MB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.03226, allocations: 131.5 kB / 388.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.03231, allocations: 39.91 kB / 388.2 MB, free: 8.523 MB / 362.7 MB Warning: Assuming fixed start value for the following 16 variables: LAtrialElastance.HP:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"heart period\" type: Real LAtrialElastance.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) type: Real LVentricularElastance.HP:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"heart period\" type: Real LVentricularElastance.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) type: Real RAtrialElastance.HP:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"heart period\" type: Real RAtrialElastance.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) type: Real RVentricularElastance.HP:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"heart period\" type: Real RVentricularElastance.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) type: Real AorticValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real AorticValve.open:DISCRETE(start = true fixed = true ) \"Switching state\" type: Boolean MitralValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real MitralValve.open:DISCRETE(start = true fixed = true ) \"Switching state\" type: Boolean PulmonaryValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real PulmonaryValve.open:DISCRETE(start = true fixed = true ) \"Switching state\" type: Boolean TricuspidValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real inertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.LAtrialElastance.HP,$PRE.LAtrialElastance.T0,LAtrialElastance.b,$whenCondition2,$PRE.LVentricularElastance.HP,$PRE.LVentricularElastance.T0,LVentricularElastance.b,$whenCondition3,$PRE.RAtrialElastance.HP,$PRE.RAtrialElastance.T0,RAtrialElastance.b,$whenCondition6,$PRE.RVentricularElastance.HP,$PRE.RVentricularElastance.T0,RVentricularElastance.b,$whenCondition7,$PRE.AorticValve.lastChange,$PRE.AorticValve.open,$PRE.MitralValve.lastChange,$PRE.MitralValve.open,$PRE.PulmonaryValve.lastChange,$PRE.PulmonaryValve.open,$PRE.TricuspidValve.lastChange,TricuspidValve.open,$PRE.TricuspidValve.open,TricuspidValve.lastChange,RVentricularElastance.HP,RVentricularElastance.Tvs,RVentricularElastance.T0,RVentricularElastance.Tas,RAtrialElastance.HP,RAtrialElastance.Tvs,RAtrialElastance.T0,RAtrialElastance.Tas,PulmonaryValve.open,PulmonaryValve.lastChange,MitralValve.open,MitralValve.lastChange,LVentricularElastance.HP,LVentricularElastance.Tvs,LVentricularElastance.T0,LVentricularElastance.Tas,LAtrialElastance.HP,LAtrialElastance.Tvs,LAtrialElastance.T0,LAtrialElastance.Tas,AorticValve.open,AorticValve.lastChange,$whenCondition1,$whenCondition4,$whenCondition5,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002592/0.03256, allocations: 293.4 kB / 388.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.0327, allocations: 159.2 kB / 388.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009236/0.03362, allocations: 0.8473 MB / 389.5 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.03363, allocations: 3.984 kB / 389.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03363, allocations: 4 kB / 389.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.03388, allocations: 206.8 kB / 389.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.03398, allocations: 24 kB / 389.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.03432, allocations: 75.92 kB / 389.8 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.03443, allocations: 96.77 kB / 389.9 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001497/0.03593, allocations: 1.031 MB / 390.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001136/0.03706, allocations: 1.263 MB / 392.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002889/0.03735, allocations: 289.4 kB / 392.5 MB, free: 4.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.03758, allocations: 418.8 kB / 392.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of Backend: time 3.31e-07/0.03758, allocations: 0 / 392.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.03861, allocations: 1.205 MB / 394.1 MB, free: 2.473 MB / 362.7 MB Error: Error parsing unit (mmHg.min)/ml: Parse error Error: Error parsing unit (mmHg.s)/ml: Parse error Notification: Performance of SimCode: time 0.003274/0.04188, allocations: 3.217 MB / 397.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of Templates: time 0.0209/0.06279, allocations: 22.01 MB / 419.3 MB, free: 9.535 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm.sim & ./Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MeursModel2011.HemodynamicsMeurs_flatNorm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9943806952796876]