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.001136/0.001136, allocations: 92.22 kB / 19.65 MB, free: 276 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.001572/0.001572, allocations: 173 kB / 23.02 MB, free: 1.547 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.9694/0.9694, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.05385/0.05385, allocations: 12.76 MB / 272.7 MB, free: 280 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.664e-06/1.664e-06, allocations: 0 / 346.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.231e-05, allocations: 2.312 kB / 346.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.005399/0.005421, allocations: 4.683 MB / 351.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.0075, allocations: 0.9931 MB / 352.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.007737, allocations: 15.88 kB / 352.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.007993, allocations: 91.06 kB / 352.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005878/0.008581, allocations: 273.7 kB / 352.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.008934, allocations: 163.7 kB / 353.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.009514, allocations: 0.8123 MB / 353.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.009726, allocations: 128.9 kB / 354 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/0.01014, allocations: 419.1 kB / 354.4 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.01041, allocations: 247.3 kB / 354.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.01046, allocations: 44 kB / 354.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.01051, allocations: 51.94 kB / 354.8 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.01058, allocations: 103.6 kB / 354.9 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.01073, allocations: 223.5 kB / 355.1 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.01109, allocations: 450.3 kB / 355.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01109, allocations: 0 / 355.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01109, allocations: 0 / 355.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.0111, allocations: 4 kB / 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.00087/0.01197, allocations: 0.8362 MB / 356.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.01201, allocations: 11.98 kB / 356.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.01212, allocations: 92.56 kB / 356.5 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.01248, allocations: 328.2 kB / 356.8 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.01258, allocations: 136.4 kB / 356.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.01263, allocations: 40.38 kB / 357 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.01312, allocations: 438.4 kB / 357.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01313, allocations: 192 / 357.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.01316, allocations: 19.94 kB / 357.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.01317, allocations: 12 kB / 357.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.01345, allocations: 178.9 kB / 357.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.01452, allocations: 0.9073 MB / 358.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.01485, allocations: 247.7 kB / 358.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.01521, allocations: 225.8 kB / 359 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.01524, allocations: 8.219 kB / 359 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.01551, allocations: 273.4 kB / 359.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.473e-06/0.01551, allocations: 0 / 359.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004953/0.016, allocations: 336.9 kB / 359.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.01604, allocations: 55.41 kB / 359.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.01627, allocations: 334.2 kB / 360 MB, free: 3.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.0163, allocations: 33.7 kB / 360 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01641, allocations: 283.3 kB / 360.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.01648, allocations: 115.1 kB / 360.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.01656, allocations: 75.3 kB / 360.5 MB, free: 3.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.01676, allocations: 0.5157 MB / 361 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.01686, allocations: 64.45 kB / 361 MB, free: 2.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.017, allocations: 106.3 kB / 361.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.01725, allocations: 180.9 kB / 361.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.01725, allocations: 7.938 kB / 361.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003426/0.0176, allocations: 294.8 kB / 361.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01761, allocations: 4 kB / 361.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01762, allocations: 0 / 361.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01763, allocations: 7.984 kB / 361.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.01803, allocations: 127.8 kB / 361.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01804, allocations: 0 / 361.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01816, allocations: 43.77 kB / 361.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01818, allocations: 12 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.0001597/0.01834, allocations: 209.1 kB / 362 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.01839, allocations: 47.77 kB / 362.1 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.01877, allocations: 297.1 kB / 362.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01878, allocations: 4 kB / 362.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01878, allocations: 96 / 362.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.01879, allocations: 7.969 kB / 362.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.01964, allocations: 0.7454 MB / 363.1 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01964, allocations: 0 / 363.1 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.01995, allocations: 99.86 kB / 363.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01995, allocations: 0 / 363.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.01998, allocations: 11.98 kB / 363.2 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01998, allocations: 0 / 363.2 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01998, allocations: 0 / 363.2 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.02049, allocations: 0.5044 MB / 363.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.02052, allocations: 35.69 kB / 363.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.02056, allocations: 16 kB / 363.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.02069, allocations: 23.97 kB / 363.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.02075, allocations: 27.89 kB / 363.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.02077, allocations: 19.98 kB / 363.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.02089, allocations: 219 kB / 364 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02089, allocations: 0 / 364 MB, free: 15.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.02114, 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 9.141e-05/0.02123, allocations: 111.1 kB / 364.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.02154, allocations: 208.4 kB / 364.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02154, allocations: 0 / 364.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.02168, allocations: 120 kB / 364.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.02203, allocations: 109 kB / 364.7 MB, free: 14.74 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.001565/0.02359, allocations: 0.8675 MB / 365.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.698e-05/0.02366, allocations: 109.1 kB / 365.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.0238, allocations: 54.94 kB / 365.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.02389, allocations: 40.48 kB / 365.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02389, allocations: 0 / 365.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Templates: time 0.007229/0.03112, allocations: 5.633 MB / 371.4 MB, free: 8.086 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.9863743409514427]