Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.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.0008578/0.0008578, allocations: 77.95 kB / 20.67 MB, free: 3.836 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.0008911/0.0008911, allocations: 169.4 kB / 24.07 MB, free: 452 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.8975/0.8975, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.05215/0.05215, allocations: 12.76 MB / 273.8 MB, free: 136 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.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 348.1 MB, free: 1.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.554e-05, allocations: 4.422 kB / 348.1 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation): time 0.007119/0.007135, allocations: 7.334 MB / 355.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.009828, allocations: 1.659 MB / 357.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.01019, allocations: 43.62 kB / 357.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.01057, allocations: 194 kB / 357.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008459/0.01141, allocations: 0.4956 MB / 357.8 MB, free: 8.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.01196, allocations: 327.4 kB / 358.2 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.01335, allocations: 1.637 MB / 359.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005542/0.01391, allocations: 187.9 kB / 360 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009374/0.01484, allocations: 0.8225 MB / 360.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.01551, allocations: 474.6 kB / 361.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.01563, allocations: 88 kB / 361.4 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.01578, allocations: 92 kB / 361.4 MB, free: 4.438 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.01595, allocations: 227.1 kB / 361.7 MB, free: 4.215 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.01638, allocations: 423.1 kB / 362.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.01722, allocations: 0.8758 MB / 363 MB, free: 2.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01722, allocations: 0 / 363 MB, free: 2.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01722, allocations: 0 / 363 MB, free: 2.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.01723, allocations: 4 kB / 363 MB, free: 2.918 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001866/0.0191, allocations: 1.404 MB / 364.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.01914, allocations: 15.98 kB / 364.4 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.01937, allocations: 192.2 kB / 364.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.02018, allocations: 0.5531 MB / 365.1 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.02044, allocations: 493.8 kB / 365.6 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.02055, allocations: 84.33 kB / 365.7 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.02158, allocations: 0.8595 MB / 366.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.02161, allocations: 192 / 366.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.02167, allocations: 35.94 kB / 366.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.02169, allocations: 20 kB / 366.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.0225, allocations: 349.6 kB / 366.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.02499, allocations: 1.52 MB / 368.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.02609, allocations: 0.6664 MB / 369.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.02643, allocations: 257.2 kB / 369.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.02647, allocations: 21 kB / 369.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.02703, allocations: 0.5709 MB / 370 MB, free: 11.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 2.525e-06/0.02703, allocations: 0 / 370 MB, free: 11.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=90): time 0.001845/0.02887, allocations: 0.8853 MB / 370.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.02894, allocations: 163.2 kB / 371 MB, free: 10.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.02937, allocations: 0.5265 MB / 371.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.02942, allocations: 41.7 kB / 371.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.02968, allocations: 431.7 kB / 372 MB, free: 9.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.02991, allocations: 313.3 kB / 372.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.03014, allocations: 168.2 kB / 372.5 MB, free: 8.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.03034, allocations: 0.5663 MB / 373 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.03057, allocations: 113.8 kB / 373.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.03091, allocations: 294.1 kB / 373.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.03201, allocations: 0.5849 MB / 374 MB, free: 7.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.03202, allocations: 0 / 374 MB, free: 7.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001212/0.03323, allocations: 0.7142 MB / 374.7 MB, free: 6.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.03325, allocations: 8.062 kB / 374.7 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.03326, allocations: 4 kB / 374.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.03361, allocations: 130.6 kB / 374.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.03431, allocations: 267.7 kB / 375.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.03749, allocations: 8.028 MB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.03775, allocations: 87.44 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.03778, allocations: 27.98 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Warning: Assuming fixed start value for the following 14 variables: mitralValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real aorticValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real tricuspidValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real pulmonaryValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real timeVaryingElastanceRight.ts:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of systole\" type: Real timeVaryingElastanceRight.t0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"time of beginning of the cardiac cycle\" type: Real timeVaryingElastanceRight.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"heart period\" type: Real timeVaryingElastanceLeft.ts:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of systole\" type: Real timeVaryingElastanceLeft.t0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"time of beginning of the cardiac cycle\" type: Real timeVaryingElastanceLeft.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"heart period\" type: Real systemicInertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real aorticInertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real pulmonaryArterialInertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real pulmonaryVeinsInertia.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: 15 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.mitralValve.lastChange,mitralValve.lastChange,$PRE.aorticValve.lastChange,aorticValve.lastChange,$PRE.tricuspidValve.lastChange,tricuspidValve.lastChange,$PRE.pulmonaryValve.lastChange,pulmonaryValve.lastChange,$PRE.timeVaryingElastanceRight.ts,$PRE.timeVaryingElastanceRight.t0,$PRE.timeVaryingElastanceRight.HP,$PRE.timeVaryingElastanceLeft.ts,$PRE.timeVaryingElastanceLeft.t0,$PRE.timeVaryingElastanceLeft.HP,pulmonaryValve.open,tricuspidValve.open,aorticValve.open,mitralValve.open,$whenCondition1,$whenCondition2,timeVaryingElastanceRight.t0,timeVaryingElastanceRight.ts,timeVaryingElastanceRight.HP,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.ts,timeVaryingElastanceLeft.HP) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * 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,5), (1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.03804, allocations: 283 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.03814, allocations: 111.5 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.03886, allocations: 0.6454 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.03887, allocations: 7.922 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.03888, allocations: 7.938 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.03906, allocations: 147.2 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.03912, allocations: 16 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.03934, allocations: 39.97 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.03941, allocations: 68.88 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001234/0.04065, allocations: 1.313 MB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009125/0.04156, allocations: 1.466 MB / 387.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001957/0.04176, allocations: 197.5 kB / 387.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.04192, allocations: 326.9 kB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of Backend: time 2.31e-07/0.04192, allocations: 0 / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.04327, allocations: 1.148 MB / 389 MB, free: 7.488 MB / 362.7 MB Notification: Performance of SimCode: time 0.002639/0.04591, allocations: 2.823 MB / 391.9 MB, free: 4.594 MB / 362.7 MB Notification: Performance of Templates: time 0.01538/0.06129, allocations: 14.92 MB / 406.8 MB, free: 5.91 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.737837873864919]