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.001349/0.001349, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001706/0.001706, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.084/1.084, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.06343/0.06343, allocations: 12.76 MB / 273 MB, free: 184 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.343e-06/1.343e-06, allocations: 0 / 294.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.666e-05, allocations: 5.078 kB / 294.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.003842/0.003859, allocations: 4.658 MB / 298.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.005727, allocations: 1.024 MB / 299.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.005941, allocations: 15.12 kB / 299.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.006141, allocations: 93.48 kB / 299.9 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.006606, allocations: 267 kB / 300.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.006909, allocations: 164.5 kB / 300.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000635/0.007544, allocations: 0.808 MB / 301.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.007761, allocations: 137.6 kB / 301.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00054/0.008301, allocations: 419.5 kB / 301.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.008638, allocations: 244.5 kB / 301.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.008693, allocations: 44 kB / 302 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.008767, allocations: 46.28 kB / 302 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.008833, allocations: 116.7 kB / 302.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.009023, allocations: 213.5 kB / 302.3 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.00948, allocations: 450.5 kB / 302.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.009483, allocations: 0.6094 kB / 302.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009484, allocations: 0 / 302.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.009493, allocations: 5.375 kB / 302.8 MB, free: 6.465 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.0007932/0.01029, allocations: 0.7104 MB / 303.5 MB, free: 5.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.01032, allocations: 12.2 kB / 303.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.01041, allocations: 70.09 kB / 303.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.01073, allocations: 294.5 kB / 303.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.0108, allocations: 137.2 kB / 304 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.01085, allocations: 41.31 kB / 304 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.01123, allocations: 404.8 kB / 304.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01125, allocations: 5.109 kB / 304.4 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.01127, allocations: 21.12 kB / 304.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.01129, allocations: 9.891 kB / 304.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.01148, allocations: 126.8 kB / 304.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.01238, allocations: 0.6495 MB / 305.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.01262, allocations: 206 kB / 305.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.01286, allocations: 194.6 kB / 305.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.01289, allocations: 6.344 kB / 305.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.01305, allocations: 269 kB / 305.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.01305, allocations: 0 / 305.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003056/0.01335, allocations: 215.1 kB / 306.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/0.01337, allocations: 55.12 kB / 306.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.0135, allocations: 271.5 kB / 306.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.01352, allocations: 40.55 kB / 306.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.01358, allocations: 205.9 kB / 306.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.01363, allocations: 118.3 kB / 306.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.0137, allocations: 67.41 kB / 306.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.01375, allocations: 351.7 kB / 307.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.01382, allocations: 43.22 kB / 307.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.0139, allocations: 76.31 kB / 307.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.01407, allocations: 157.5 kB / 307.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01407, allocations: 0 / 307.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001935/0.01427, allocations: 207 kB / 307.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01428, allocations: 4 kB / 307.7 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.01428, allocations: 0 / 307.7 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.0143, allocations: 4 kB / 307.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.01466, allocations: 135.8 kB / 307.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.01467, allocations: 4 kB / 307.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.01478, allocations: 43.77 kB / 307.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.01479, allocations: 11.98 kB / 307.9 MB, free: 2.922 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.0001219/0.01492, allocations: 147 kB / 308 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.01495, allocations: 35.91 kB / 308 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.01516, allocations: 205.2 kB / 308.2 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01516, allocations: 4 kB / 308.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01516, allocations: 0 / 308.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01517, allocations: 0 / 308.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.0156, allocations: 496.7 kB / 308.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0156, allocations: 3.938 kB / 308.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.01589, allocations: 103.9 kB / 308.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.0159, allocations: 0 / 308.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01591, allocations: 11.98 kB / 308.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01592, allocations: 0 / 308.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01592, allocations: 0.5469 kB / 308.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.01618, allocations: 348.4 kB / 309.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.01621, allocations: 35.69 kB / 309.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.01624, allocations: 8 kB / 309.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.01635, allocations: 27.97 kB / 309.3 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.0164, allocations: 23.95 kB / 309.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.01642, allocations: 19.98 kB / 309.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.01647, allocations: 104.5 kB / 309.4 MB, free: 1.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01647, allocations: 4 kB / 309.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01667, allocations: 151.7 kB / 309.6 MB, free: 1.164 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 7.476e-05/0.01675, allocations: 85.06 kB / 309.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.01694, allocations: 177.4 kB / 309.8 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.01694, allocations: 4 kB / 309.8 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.01703, allocations: 97.14 kB / 309.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.0173, allocations: 106.9 kB / 310 MB, free: 0.7031 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.001256/0.01856, allocations: 0.8 MB / 310.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.106e-05/0.01862, allocations: 105.1 kB / 310.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.01877, allocations: 59.11 kB / 311 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.01898, allocations: 153.2 kB / 311.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01898, allocations: 0 / 311.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of Templates: time 0.007231/0.02621, allocations: 5.787 MB / 316.9 MB, free: 9.922 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.004897192120552]