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.0009549/0.0009549, allocations: 80.5 kB / 19.93 MB, free: 4.602 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.0009986/0.0009986, allocations: 185.2 kB / 23.22 MB, free: 1.316 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.9288/0.9288, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.0636/0.0636, allocations: 12.75 MB / 272.7 MB, free: 0.5039 MB / 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.282e-06/1.282e-06, allocations: 0 / 403.3 MB, free: 8.727 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.507e-05, allocations: 2.281 kB / 403.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.003108/0.003123, allocations: 4.193 MB / 407.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004215, allocations: 0.9892 MB / 408.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.004361, allocations: 15.88 kB / 408.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.004534, allocations: 95 kB / 408.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.004859, allocations: 265.8 kB / 408.8 MB, free: 3.148 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.005065, allocations: 163.7 kB / 409 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.005533, allocations: 0.8162 MB / 409.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.005742, allocations: 128.9 kB / 409.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.006116, allocations: 419.1 kB / 410.3 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.006361, allocations: 239.3 kB / 410.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.006408, allocations: 44 kB / 410.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.105e-05/0.006469, allocations: 44 kB / 410.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.006532, allocations: 103.6 kB / 410.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.006682, allocations: 223.5 kB / 411 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.007087, allocations: 0.6308 MB / 411.6 MB, free: 356 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.007088, allocations: 0 / 411.6 MB, free: 356 kB / 330.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007089, allocations: 0 / 411.6 MB, free: 356 kB / 330.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.007095, allocations: 0 / 411.6 MB, free: 356 kB / 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.1286/0.1357, allocations: 0.7406 MB / 412.3 MB, free: 21.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1358, allocations: 13.98 kB / 412.4 MB, free: 21.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.1358, allocations: 60.12 kB / 412.4 MB, free: 21.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.1362, allocations: 313.6 kB / 412.7 MB, free: 21.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.1363, allocations: 139.6 kB / 412.9 MB, free: 21.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.1363, allocations: 38.2 kB / 412.9 MB, free: 21.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.1369, allocations: 0.5044 MB / 413.4 MB, free: 21.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1369, allocations: 2.781 kB / 413.4 MB, free: 21.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.1369, allocations: 19.11 kB / 413.4 MB, free: 21.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1369, allocations: 14.06 kB / 413.4 MB, free: 21.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.1374, allocations: 357.5 kB / 413.8 MB, free: 21.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1385, allocations: 0.886 MB / 414.7 MB, free: 20.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.139, allocations: 366.7 kB / 415 MB, free: 20.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.1394, allocations: 302.5 kB / 415.3 MB, free: 20.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1394, allocations: 8.406 kB / 415.3 MB, free: 20.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.1397, allocations: 348.2 kB / 415.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.1397, allocations: 0 / 415.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.00075/0.1405, allocations: 0.5334 MB / 416.2 MB, free: 20 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.1405, allocations: 55.89 kB / 416.3 MB, free: 19.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1407, allocations: 280.8 kB / 416.5 MB, free: 19.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1407, allocations: 36.45 kB / 416.6 MB, free: 19.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.1408, allocations: 234.7 kB / 416.8 MB, free: 19.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.1408, allocations: 125 kB / 416.9 MB, free: 19.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1409, allocations: 71.25 kB / 417 MB, free: 19.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.1409, allocations: 351.4 kB / 417.3 MB, free: 19.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.1411, allocations: 137.2 kB / 417.5 MB, free: 19.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.1414, allocations: 179.9 kB / 417.6 MB, free: 18.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.1418, allocations: 344.2 kB / 418 MB, free: 18.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1418, allocations: 0 / 418 MB, free: 18.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005204/0.1423, allocations: 450.3 kB / 418.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1423, allocations: 6.203 kB / 418.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1423, allocations: 0 / 418.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1424, allocations: 2.75 kB / 418.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.1428, allocations: 129.7 kB / 418.6 MB, free: 18.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1428, allocations: 7.531 kB / 418.6 MB, free: 18.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1429, allocations: 45.34 kB / 418.6 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1429, allocations: 16.06 kB / 418.6 MB, free: 18.62 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.0001648/0.1431, allocations: 181.8 kB / 418.8 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.1431, allocations: 40.81 kB / 418.8 MB, free: 18.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.1437, allocations: 438.3 kB / 419.3 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1437, allocations: 4.359 kB / 419.3 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1437, allocations: 2.5 kB / 419.3 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1437, allocations: 2.766 kB / 419.3 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009021/0.1446, allocations: 0.8565 MB / 420.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1446, allocations: 0 / 420.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.1449, allocations: 106.2 kB / 420.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1449, allocations: 1.312 kB / 420.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.145, allocations: 10.73 kB / 420.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.145, allocations: 2.25 kB / 420.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.145, allocations: 3.828 kB / 420.3 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.1458, allocations: 0.6963 MB / 420.9 MB, free: 17.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1458, allocations: 37.11 kB / 421 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1458, allocations: 12.25 kB / 421 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.146, allocations: 32.78 kB / 421 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.146, allocations: 26.67 kB / 421.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1461, allocations: 17.72 kB / 421.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1462, allocations: 198.6 kB / 421.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1462, allocations: 0 / 421.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.1464, allocations: 142.8 kB / 421.4 MB, free: 17.29 MB / 330.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.321e-05/0.1465, allocations: 112.1 kB / 421.5 MB, free: 17.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000501/0.147, allocations: 348.6 kB / 421.9 MB, free: 17.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.147, allocations: 0 / 421.9 MB, free: 17.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1473, allocations: 179.8 kB / 422 MB, free: 17.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1476, allocations: 103.8 kB / 422.1 MB, free: 17.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.1485, allocations: 0.8914 MB / 423 MB, free: 16.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.1487, allocations: 212.2 kB / 423.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.1488, allocations: 49.2 kB / 423.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1488, allocations: 0 / 423.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of Templates: time 0.005765/0.1545, allocations: 5.891 MB / 429.2 MB, free: 14.44 MB / 330.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 > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.74701791536063]