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.000922/0.000922, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.0009348/0.0009348, allocations: 165 kB / 23.27 MB, free: 1.23 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.9516/0.9516, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.06487/0.06487, allocations: 12.76 MB / 273 MB, free: 128 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.543e-06/1.543e-06, allocations: 0 / 347.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.582e-05, allocations: 4.844 kB / 347.3 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.01679/0.01682, allocations: 4.622 MB / 352 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.0184, allocations: 0.9973 MB / 353 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.01859, allocations: 15.88 kB / 353 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.01877, allocations: 99 kB / 353.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.01915, allocations: 269.7 kB / 353.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.0194, allocations: 155.7 kB / 353.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.02003, allocations: 0.8123 MB / 354.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.02027, allocations: 132.9 kB / 354.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.02075, allocations: 419.1 kB / 354.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.02106, allocations: 247.3 kB / 355.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.02112, allocations: 44 kB / 355.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.02119, allocations: 48 kB / 355.2 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.02126, allocations: 107.6 kB / 355.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.02142, allocations: 219.5 kB / 355.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.02184, allocations: 450.3 kB / 355.9 MB, free: 9.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.02184, allocations: 4 kB / 355.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02184, allocations: 0 / 355.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.02185, allocations: 0 / 355.9 MB, free: 9.199 MB / 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.0008667/0.02271, allocations: 0.8396 MB / 356.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.02275, allocations: 15.98 kB / 356.8 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/0.02285, allocations: 92.61 kB / 356.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.02317, allocations: 320.3 kB / 357.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.02326, allocations: 136.4 kB / 357.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.02331, allocations: 48.31 kB / 357.4 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.02376, allocations: 398.5 kB / 357.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.02378, allocations: 8.125 kB / 357.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.02381, allocations: 23.88 kB / 357.8 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.02382, allocations: 12 kB / 357.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.02406, allocations: 146.8 kB / 357.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.0253, allocations: 0.8533 MB / 358.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.02862, allocations: 223.7 kB / 359 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.02897, allocations: 212 kB / 359.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.029, allocations: 16.22 kB / 359.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.02924, allocations: 253.5 kB / 359.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/0.02924, allocations: 0 / 359.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005048/0.02975, allocations: 300.9 kB / 359.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.02977, allocations: 59.34 kB / 359.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.03, allocations: 322.1 kB / 360.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.03002, allocations: 33.7 kB / 360.2 MB, free: 4.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.03016, allocations: 283.3 kB / 360.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.03025, allocations: 127 kB / 360.6 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.03036, allocations: 79.3 kB / 360.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.03051, allocations: 0.5195 MB / 361.2 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.0306, allocations: 44.47 kB / 361.2 MB, free: 3.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.03072, allocations: 94.31 kB / 361.3 MB, free: 3.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.03096, allocations: 160.9 kB / 361.5 MB, free: 3.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.03096, allocations: 0 / 361.5 MB, free: 3.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.003376/0.03434, allocations: 274.7 kB / 361.7 MB, free: 3.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.03436, allocations: 11.94 kB / 361.8 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.03436, allocations: 4 kB / 361.8 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.03438, allocations: 4 kB / 361.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.03483, allocations: 111.8 kB / 361.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.03483, allocations: 4 kB / 361.9 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.035, allocations: 51.72 kB / 361.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.03502, allocations: 11.98 kB / 361.9 MB, free: 2.879 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.000175/0.03519, allocations: 197.3 kB / 362.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.03526, allocations: 55.7 kB / 362.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.03565, allocations: 273.3 kB / 362.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.03565, allocations: 0 / 362.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.03565, allocations: 4 kB / 362.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.03566, allocations: 0 / 362.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/0.03645, allocations: 0.6716 MB / 363.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.03645, allocations: 0 / 363.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.03683, allocations: 95.86 kB / 363.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.03683, allocations: 0 / 363.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.03685, allocations: 11.98 kB / 363.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.03686, allocations: 0 / 363.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03686, allocations: 0 / 363.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.04039, allocations: 484.6 kB / 363.7 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.04043, allocations: 39.62 kB / 363.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.04047, allocations: 8 kB / 363.8 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.04065, allocations: 27.98 kB / 363.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.04071, allocations: 35.8 kB / 363.8 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.04074, allocations: 15.98 kB / 363.8 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.04086, allocations: 210.9 kB / 364 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04086, allocations: 0 / 364 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000354/0.04121, allocations: 143.8 kB / 364.2 MB, free: 0.5742 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 0.0001024/0.04132, allocations: 111.8 kB / 364.3 MB, free: 468 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.04159, allocations: 176.5 kB / 364.5 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0416, allocations: 0 / 364.5 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.04174, allocations: 111.8 kB / 364.6 MB, free: 172 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.04217, allocations: 108.9 kB / 364.7 MB, free: 64 kB / 330.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.004746/0.04692, allocations: 0.8674 MB / 365.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.398e-05/0.04699, allocations: 105.1 kB / 365.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.04716, allocations: 50.94 kB / 365.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.04743, allocations: 182.1 kB / 365.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04743, allocations: 7.938 kB / 365.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of Templates: time 0.01817/0.0656, allocations: 5.782 MB / 371.7 MB, free: 9.137 MB / 346.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.831123829819262]