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.000999/0.000999, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00146/0.00146, allocations: 173.3 kB / 23.02 MB, free: 1.551 MB / 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.9787/0.9787, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.05884/0.05884, allocations: 12.75 MB / 272.7 MB, free: 284 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.783e-06/1.783e-06, allocations: 0 / 346.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.792e-05, allocations: 2.312 kB / 346.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.003936/0.003964, allocations: 4.675 MB / 351.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.005655, allocations: 0.9931 MB / 352.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.005839, allocations: 15.88 kB / 352.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.006051, allocations: 95.06 kB / 352.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.006466, allocations: 273.7 kB / 352.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.006738, allocations: 159.7 kB / 353.1 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.007274, allocations: 0.8162 MB / 353.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.007511, allocations: 128.9 kB / 354 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.008006, allocations: 415.1 kB / 354.4 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.008305, allocations: 255.2 kB / 354.7 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.008357, allocations: 44 kB / 354.7 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.108e-05/0.008418, allocations: 44 kB / 354.8 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.008484, allocations: 107.6 kB / 354.9 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.008645, allocations: 219.5 kB / 355.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.009059, allocations: 450.3 kB / 355.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.009064, allocations: 4 kB / 355.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009065, allocations: 4 kB / 355.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.009072, allocations: 0 / 355.5 MB, free: 8.344 MB / 282.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.0009579/0.01003, allocations: 0.8323 MB / 356.4 MB, free: 7.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.01007, allocations: 11.98 kB / 356.4 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.01018, allocations: 92.56 kB / 356.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.01055, allocations: 328.2 kB / 356.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.01066, allocations: 136.4 kB / 356.9 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.01072, allocations: 44.36 kB / 357 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.01125, allocations: 434.4 kB / 357.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.01127, allocations: 4.188 kB / 357.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.01131, allocations: 23.88 kB / 357.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.01132, allocations: 8 kB / 357.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.01168, allocations: 173.9 kB / 357.6 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.01304, allocations: 0.9074 MB / 358.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.01344, allocations: 247.7 kB / 358.8 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.01387, allocations: 220.1 kB / 359 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.01389, allocations: 12.27 kB / 359 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.01418, allocations: 269.3 kB / 359.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/0.01419, allocations: 0 / 359.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006211/0.01481, allocations: 336.9 kB / 359.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.01485, allocations: 55.41 kB / 359.6 MB, free: 4.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.01509, allocations: 330.3 kB / 360 MB, free: 3.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.01512, allocations: 33.7 kB / 360 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.01526, allocations: 283.3 kB / 360.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/0.01535, allocations: 119 kB / 360.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.01545, allocations: 79.3 kB / 360.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.0156, allocations: 0.5196 MB / 361 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.01573, allocations: 60.45 kB / 361 MB, free: 2.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01589, allocations: 102.3 kB / 361.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.0162, allocations: 184.9 kB / 361.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01621, allocations: 3.938 kB / 361.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004383/0.01665, allocations: 294.8 kB / 361.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01666, allocations: 11.92 kB / 361.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01667, allocations: 4 kB / 361.6 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01668, allocations: 4 kB / 361.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.0172, allocations: 119.8 kB / 361.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01721, allocations: 0 / 361.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.01737, allocations: 47.77 kB / 361.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.0174, allocations: 15.98 kB / 361.8 MB, free: 1.766 MB / 282.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.0001855/0.01759, allocations: 197.6 kB / 362 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.01765, allocations: 51.7 kB / 362.1 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.01813, allocations: 297.2 kB / 362.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01813, allocations: 4.094 kB / 362.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01814, allocations: 0 / 362.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01814, allocations: 3.984 kB / 362.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.01906, allocations: 0.7454 MB / 363.1 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01906, allocations: 0 / 363.1 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.01947, allocations: 99.86 kB / 363.2 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01947, allocations: 0 / 363.2 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.0195, allocations: 11.98 kB / 363.2 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.0195, allocations: 0 / 363.2 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.0195, allocations: 0 / 363.2 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.02016, allocations: 0.5124 MB / 363.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.0202, allocations: 31.7 kB / 363.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.02025, allocations: 12 kB / 363.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.02043, allocations: 23.97 kB / 363.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.0205, allocations: 23.95 kB / 363.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.02054, allocations: 19.98 kB / 363.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.02068, allocations: 222.9 kB / 364 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02068, allocations: 0 / 364 MB, free: 15.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.02104, allocations: 151.7 kB / 364.2 MB, free: 15.3 MB / 298.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 0.0001273/0.02117, allocations: 107 kB / 364.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.02158, allocations: 212.3 kB / 364.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02159, allocations: 0 / 364.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.02177, allocations: 120 kB / 364.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.02227, allocations: 112.6 kB / 364.7 MB, free: 14.75 MB / 298.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.002079/0.02435, allocations: 0.8674 MB / 365.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.949e-05/0.02443, allocations: 113.1 kB / 365.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.02463, allocations: 50.94 kB / 365.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.02474, allocations: 40.48 kB / 365.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02474, allocations: 0 / 365.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of Templates: time 0.009399/0.03414, allocations: 5.633 MB / 371.4 MB, free: 8.094 MB / 298.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.939078356139362]