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.001057/0.001057, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009904/0.0009904, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9537/0.9537, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.05935/0.05935, allocations: 12.76 MB / 273.8 MB, free: 120 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.382e-06/1.382e-06, allocations: 0 / 348.1 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.491e-05, allocations: 2.312 kB / 348.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.003444/0.003459, allocations: 4.622 MB / 352.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.004591, allocations: 0.9931 MB / 353.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.004734, allocations: 15.88 kB / 353.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.004897, allocations: 95.06 kB / 353.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.005229, allocations: 269.6 kB / 354.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.005437, allocations: 159.7 kB / 354.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.005929, allocations: 0.8162 MB / 355.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.006133, allocations: 128.9 kB / 355.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.006506, allocations: 419.1 kB / 355.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.006757, allocations: 243.3 kB / 355.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.006803, allocations: 44 kB / 355.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.115e-05/0.006854, allocations: 51.88 kB / 356 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.006915, allocations: 107.6 kB / 356.1 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.007066, allocations: 219.5 kB / 356.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.007405, allocations: 454.4 kB / 356.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.007407, allocations: 0 / 356.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.007407, allocations: 0 / 356.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007412, allocations: 0 / 356.7 MB, free: 8.125 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.0007602/0.008172, allocations: 0.8361 MB / 357.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.008202, allocations: 15.98 kB / 357.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.008293, allocations: 92.55 kB / 357.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.008598, allocations: 332.2 kB / 358 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.008677, allocations: 140.4 kB / 358.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.00873, allocations: 40.38 kB / 358.2 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.009092, allocations: 394.5 kB / 358.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.009103, allocations: 192 / 358.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.009128, allocations: 23.94 kB / 358.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.009135, allocations: 8 kB / 358.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.009312, allocations: 146.9 kB / 358.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.01025, allocations: 0.8609 MB / 359.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.01054, allocations: 223.2 kB / 359.8 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.01081, allocations: 212 kB / 360 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.01083, allocations: 12.22 kB / 360 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.01101, allocations: 249.3 kB / 360.3 MB, free: 4.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.372e-06/0.01102, allocations: 0 / 360.3 MB, free: 4.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003716/0.01139, allocations: 312.8 kB / 360.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.01141, allocations: 55.41 kB / 360.6 MB, free: 4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01157, allocations: 330.1 kB / 360.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.01159, allocations: 33.7 kB / 361 MB, free: 3.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.0117, allocations: 287.3 kB / 361.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.01177, allocations: 115 kB / 361.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.01196, allocations: 79.27 kB / 361.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01208, allocations: 0.5195 MB / 362 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.01215, allocations: 48.45 kB / 362 MB, free: 2.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.01223, allocations: 94.31 kB / 362.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.01241, allocations: 160.9 kB / 362.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01241, allocations: 0 / 362.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002682/0.01268, allocations: 270.7 kB / 362.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.01269, allocations: 4 kB / 362.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01269, allocations: 0 / 362.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.0127, allocations: 4 kB / 362.5 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.01307, allocations: 131.8 kB / 362.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.01307, allocations: 0 / 362.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.0132, allocations: 43.77 kB / 362.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.01321, allocations: 12 kB / 362.7 MB, free: 1.816 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.0001414/0.01335, allocations: 193.6 kB / 362.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.0134, allocations: 59.69 kB / 363 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.01371, allocations: 277.1 kB / 363.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01371, allocations: 4 kB / 363.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01371, allocations: 4 kB / 363.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01372, allocations: 3.984 kB / 363.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.01432, allocations: 0.664 MB / 363.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01432, allocations: 0 / 363.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.01461, allocations: 95.84 kB / 364 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01462, allocations: 4 kB / 364 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.01464, allocations: 11.98 kB / 364 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01464, allocations: 4 kB / 364 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01464, allocations: 0 / 364 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.01505, allocations: 480.5 kB / 364.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.01508, allocations: 35.7 kB / 364.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.01512, allocations: 15.98 kB / 364.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.01529, allocations: 23.98 kB / 364.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.01534, allocations: 23.95 kB / 364.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.01536, allocations: 15.98 kB / 364.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.01545, allocations: 214.9 kB / 364.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01545, allocations: 0 / 364.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.0157, allocations: 147.7 kB / 365 MB, free: 15.5 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 0.0003273/0.01603, allocations: 109.1 kB / 365.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.01627, allocations: 184.3 kB / 365.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01627, allocations: 0 / 365.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.0164, allocations: 112 kB / 365.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.01673, allocations: 116.4 kB / 365.5 MB, free: 14.98 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.001391/0.01812, allocations: 0.8674 MB / 366.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.568e-05/0.01818, allocations: 105.1 kB / 366.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.01831, allocations: 50.95 kB / 366.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.01852, allocations: 190.1 kB / 366.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01852, allocations: 0 / 366.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Templates: time 0.007283/0.0258, allocations: 5.89 MB / 372.6 MB, free: 7.93 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.9531985851936042]