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.0007089/0.0007089, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009703/0.001679, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007172/0.0007172, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001758, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.967/0.967, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09726/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.06719/0.06719, allocations: 12.75 MB / 256.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008135/0.07532, allocations: 4.83 MB / 261.7 MB, free: 13.15 MB / 266.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 4.198e-06/4.198e-06, allocations: 4 kB / 263.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/2.188e-05, allocations: 2.312 kB / 263.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.003874/0.003896, allocations: 4.689 MB / 267.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.005518, allocations: 1.032 MB / 268.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.005681, allocations: 15.88 kB / 268.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.005818, allocations: 95.05 kB / 269 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.006144, allocations: 265.7 kB / 269.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.006403, allocations: 163.6 kB / 269.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.007024, allocations: 0.8202 MB / 270.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.007236, allocations: 133.4 kB / 270.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.007733, allocations: 470.1 kB / 270.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.008016, allocations: 247.3 kB / 271.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.008074, allocations: 44 kB / 271.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.989e-05/0.008144, allocations: 44 kB / 271.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.008202, allocations: 79.69 kB / 271.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.008336, allocations: 179.8 kB / 271.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.008686, allocations: 418.5 kB / 271.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.008696, allocations: 0 / 271.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.008697, allocations: 4 kB / 271.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.008709, allocations: 0 / 271.8 MB, free: 2.973 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.0008794/0.009588, allocations: 0.8283 MB / 272.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.009617, allocations: 8.031 kB / 272.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.009704, allocations: 72.88 kB / 272.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.01003, allocations: 285.4 kB / 273 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/0.01013, allocations: 140.4 kB / 273.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.01017, allocations: 44.38 kB / 273.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.01052, allocations: 398.4 kB / 273.6 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01053, allocations: 8.188 kB / 273.6 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.01056, allocations: 19.94 kB / 273.6 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01056, allocations: 8 kB / 273.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.01072, allocations: 126.9 kB / 273.8 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.01158, allocations: 0.6509 MB / 274.4 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.0118, allocations: 215.3 kB / 274.6 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.125/0.1368, allocations: 192.5 kB / 274.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.1368, allocations: 11.7 kB / 274.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1371, allocations: 256.8 kB / 275.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.1371, allocations: 0 / 275.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003856/0.1375, allocations: 213.5 kB / 275.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.1375, allocations: 55.88 kB / 275.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1377, allocations: 265.5 kB / 275.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1377, allocations: 35.17 kB / 275.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1378, allocations: 205 kB / 275.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.1379, allocations: 123.8 kB / 276 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.138, allocations: 73.41 kB / 276 MB, free: 8.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.1381, allocations: 359.4 kB / 276.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.1381, allocations: 36.88 kB / 276.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.1382, allocations: 79.31 kB / 276.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.1384, allocations: 153.8 kB / 276.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1384, allocations: 5.5 kB / 276.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002388/0.1387, allocations: 196.7 kB / 276.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1387, allocations: 7.062 kB / 276.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1387, allocations: 1.016 kB / 276.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1387, allocations: 4.594 kB / 276.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.1392, allocations: 147.7 kB / 277 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1392, allocations: 5.562 kB / 277 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1393, allocations: 43.94 kB / 277 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1393, allocations: 13.97 kB / 277.1 MB, free: 7.762 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.0001474/0.1395, allocations: 153.8 kB / 277.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.1395, allocations: 37.75 kB / 277.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1398, allocations: 202 kB / 277.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1398, allocations: 4.25 kB / 277.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1398, allocations: 1.75 kB / 277.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1398, allocations: 2.828 kB / 277.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.1404, allocations: 492 kB / 277.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1404, allocations: 3.625 kB / 277.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.1407, allocations: 114.3 kB / 278 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.1408, allocations: 33.86 kB / 278.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1408, allocations: 2.188 kB / 278.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1408, allocations: 9.578 kB / 278.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1408, allocations: 2.547 kB / 278.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1408, allocations: 0 / 278.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.1412, allocations: 351 kB / 278.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1412, allocations: 8.766 kB / 278.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1414, allocations: 22.33 kB / 278.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.1415, allocations: 37.22 kB / 278.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.1415, allocations: 12.97 kB / 278.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1416, allocations: 97.23 kB / 278.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1416, allocations: 0 / 278.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.1419, allocations: 155.6 kB / 278.8 MB, free: 7.203 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 0.0001006/0.142, allocations: 92.92 kB / 278.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.1423, allocations: 170.3 kB / 279 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/0.1423, allocations: 10.2 kB / 279 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1425, allocations: 114.6 kB / 279.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.143, allocations: 0.9194 MB / 280.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.1554, allocations: 0.7583 MB / 280.8 MB, free: 5.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.279e-05/0.1555, allocations: 106 kB / 280.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.1557, allocations: 48.5 kB / 281 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.156, allocations: 159 kB / 281.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.293e-06/0.156, allocations: 0.7188 kB / 281.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of Templates: time 0.009523/0.1655, allocations: 6.053 MB / 287.2 MB, free: 4.145 MB / 266.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.6843337574973702]