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.0009264/0.0009264, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009374/0.0009374, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9773/0.9773, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.05738/0.05738, allocations: 12.76 MB / 273 MB, free: 164 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.653e-06/1.653e-06, allocations: 0.9844 kB / 294.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.656e-05, allocations: 2.312 kB / 294.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.003827/0.003844, allocations: 4.623 MB / 298.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.005625, allocations: 1.031 MB / 299.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.005832, allocations: 15.62 kB / 299.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.006023, allocations: 89.12 kB / 299.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.006474, allocations: 267.8 kB / 300.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.006771, allocations: 159.2 kB / 300.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000663/0.007434, allocations: 0.8179 MB / 301.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.007641, allocations: 127.6 kB / 301.2 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.008165, allocations: 420 kB / 301.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.008502, allocations: 253.2 kB / 301.9 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.008555, allocations: 44.94 kB / 301.9 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.008625, allocations: 44.88 kB / 301.9 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.008684, allocations: 108 kB / 302 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.008854, allocations: 219.4 kB / 302.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.009236, allocations: 457.1 kB / 302.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.009238, allocations: 0.75 kB / 302.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.009239, allocations: 1.375 kB / 302.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.009247, allocations: 0 / 302.7 MB, free: 6.504 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.0007651/0.01001, allocations: 0.7166 MB / 303.4 MB, free: 6.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.01004, allocations: 13.2 kB / 303.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.01012, allocations: 71.55 kB / 303.5 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.01044, allocations: 286.5 kB / 303.8 MB, free: 5.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.01051, allocations: 139.2 kB / 303.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.01056, allocations: 43.86 kB / 304 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.0109, allocations: 406.8 kB / 304.4 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.01091, allocations: 1.812 kB / 304.4 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.01094, allocations: 19.5 kB / 304.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.01095, allocations: 9.906 kB / 304.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.01111, allocations: 119.5 kB / 304.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.01198, allocations: 0.6508 MB / 305.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.01219, allocations: 197.1 kB / 305.4 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.01243, allocations: 207.2 kB / 305.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.01245, allocations: 10.3 kB / 305.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.01259, allocations: 253.8 kB / 305.8 MB, free: 4.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.453e-06/0.01259, allocations: 0 / 305.8 MB, free: 4.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0002825/0.01287, allocations: 210.1 kB / 306 MB, free: 4.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.01289, allocations: 55.78 kB / 306.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.01301, allocations: 275 kB / 306.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.01303, allocations: 36.86 kB / 306.4 MB, free: 4.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.01309, allocations: 206.3 kB / 306.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.01314, allocations: 121.8 kB / 306.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.01321, allocations: 67.94 kB / 306.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.01325, allocations: 355.1 kB / 307.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.01331, allocations: 39.06 kB / 307.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.01339, allocations: 83.33 kB / 307.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.01354, allocations: 157.4 kB / 307.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01355, allocations: 0 / 307.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001769/0.01372, allocations: 206.9 kB / 307.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.01373, allocations: 8 kB / 307.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01374, allocations: 0 / 307.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01375, allocations: 4 kB / 307.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.01407, allocations: 119.8 kB / 307.7 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01407, allocations: 8.625 kB / 307.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.01419, allocations: 43.77 kB / 307.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.0142, allocations: 7.984 kB / 307.8 MB, free: 2.992 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.0001198/0.01432, allocations: 146.9 kB / 307.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.01435, allocations: 35.91 kB / 308 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.01456, allocations: 201.2 kB / 308.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01457, allocations: 4 kB / 308.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01457, allocations: 96 / 308.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01457, allocations: 7.969 kB / 308.2 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.01501, allocations: 492.7 kB / 308.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01501, allocations: 0 / 308.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.01529, allocations: 95.86 kB / 308.7 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01529, allocations: 3.984 kB / 308.7 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.01531, allocations: 8 kB / 308.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01531, allocations: 0 / 308.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01531, allocations: 4 kB / 308.8 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.01557, allocations: 340.5 kB / 309.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.0156, allocations: 35.69 kB / 309.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.01563, allocations: 12 kB / 309.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01575, allocations: 19.98 kB / 309.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.0158, allocations: 27.94 kB / 309.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.01582, allocations: 15.98 kB / 309.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.01587, allocations: 96.62 kB / 309.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01587, allocations: 4 kB / 309.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.0161, allocations: 155.6 kB / 309.4 MB, free: 1.258 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 8.683e-05/0.01619, allocations: 86.27 kB / 309.5 MB, free: 1.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.01639, allocations: 169.4 kB / 309.7 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.01639, allocations: 4 kB / 309.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.01648, allocations: 105.1 kB / 309.8 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01675, allocations: 113.3 kB / 309.9 MB, free: 0.7891 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.001231/0.01798, allocations: 0.8002 MB / 310.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.01805, allocations: 109.1 kB / 310.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.01819, allocations: 50.95 kB / 310.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.0184, allocations: 149.3 kB / 311 MB, free: 15.64 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0184, allocations: 0 / 311 MB, free: 15.64 MB / 282.7 MB Notification: Performance of Templates: time 0.007553/0.02595, allocations: 5.798 MB / 316.8 MB, free: 10 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.866788659710437]