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.0008567/0.0008567, allocations: 77.86 kB / 20.66 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.0008937/0.0008937, allocations: 165 kB / 24.06 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.9202/0.9202, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.05129/0.05129, allocations: 12.77 MB / 273.8 MB, free: 120 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 2.816e-06/2.816e-06, allocations: 3.984 kB / 348.1 MB, free: 1.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.724e-05, allocations: 2.312 kB / 348.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.004466/0.004484, allocations: 4.618 MB / 352.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.005971, allocations: 0.9973 MB / 353.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.006149, allocations: 15.88 kB / 353.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.006358, allocations: 91.06 kB / 353.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.006782, allocations: 269.7 kB / 354.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.007044, allocations: 159.7 kB / 354.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.007683, allocations: 0.8123 MB / 355.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.007914, allocations: 128.9 kB / 355.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.008406, allocations: 423.1 kB / 355.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.008752, allocations: 243.3 kB / 355.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.008811, allocations: 44 kB / 355.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.008884, allocations: 48 kB / 356 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.008963, allocations: 115.6 kB / 356.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.00916, allocations: 219.5 kB / 356.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.009607, allocations: 446.4 kB / 356.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.009608, allocations: 0 / 356.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.009609, allocations: 0 / 356.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.009614, allocations: 0 / 356.7 MB, free: 9.195 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009852/0.0106, allocations: 0.8552 MB / 357.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.01063, allocations: 11.98 kB / 357.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.01075, allocations: 88.61 kB / 357.7 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.01114, allocations: 324.2 kB / 358 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.01124, allocations: 140.4 kB / 358.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.01129, allocations: 40.38 kB / 358.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.01175, allocations: 398.5 kB / 358.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.01177, allocations: 4.141 kB / 358.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.0118, allocations: 23.92 kB / 358.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.01182, allocations: 12 kB / 358.6 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.01206, allocations: 142.9 kB / 358.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01326, allocations: 0.8533 MB / 359.6 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.01357, allocations: 230.9 kB / 359.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.01393, allocations: 208 kB / 360 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01395, allocations: 16.2 kB / 360 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.01418, allocations: 249.5 kB / 360.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.843e-06/0.01418, allocations: 0 / 360.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004858/0.01467, allocations: 304.8 kB / 360.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.01469, allocations: 55.41 kB / 360.6 MB, free: 5.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.0149, allocations: 326.1 kB / 360.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.01493, allocations: 37.7 kB / 361 MB, free: 4.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01507, allocations: 283.3 kB / 361.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.01516, allocations: 126.9 kB / 361.4 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.01526, allocations: 79.3 kB / 361.5 MB, free: 4.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01541, allocations: 0.5195 MB / 362 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.0155, allocations: 40.47 kB / 362 MB, free: 3.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.01562, allocations: 94.31 kB / 362.1 MB, free: 3.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.01585, allocations: 160.9 kB / 362.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01585, allocations: 0 / 362.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003667/0.01622, allocations: 274.7 kB / 362.5 MB, free: 3.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01623, allocations: 8 kB / 362.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01624, allocations: 0 / 362.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.01625, allocations: 0 / 362.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.01674, allocations: 127.8 kB / 362.7 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01674, allocations: 4 kB / 362.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.01692, allocations: 47.72 kB / 362.7 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.01694, allocations: 7.984 kB / 362.7 MB, free: 2.879 MB / 330.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.0001759/0.01712, allocations: 201.7 kB / 362.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.01718, allocations: 51.7 kB / 363 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.01759, allocations: 265.2 kB / 363.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01759, allocations: 0 / 363.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01759, allocations: 4 kB / 363.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.01764, allocations: 39.69 kB / 363.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.01768, allocations: 8 kB / 363.3 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.01784, allocations: 27.92 kB / 363.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.0179, allocations: 31.94 kB / 363.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006515/0.01855, allocations: 409.7 kB / 363.7 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005572/0.01911, allocations: 0.5805 MB / 364.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001339/0.01924, allocations: 112 kB / 364.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.01936, allocations: 214.9 kB / 364.6 MB, free: 0.918 MB / 330.7 MB Notification: Performance of Backend: time 2.3e-07/0.01936, allocations: 0 / 364.6 MB, free: 0.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004774/0.01984, allocations: 217.8 kB / 364.9 MB, free: 0.6953 MB / 330.7 MB Error: Error parsing unit (Pa.s)/m3: Parse error Notification: Performance of SimCode: time 0.002092/0.02193, allocations: 1.663 MB / 366.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of Templates: time 0.009895/0.03182, allocations: 6.891 MB / 373.4 MB, free: 8.172 MB / 346.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.564621053170413]