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.0009388/0.0009388, allocations: 69.89 kB / 20.65 MB, free: 3.848 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.0009439/0.0009439, allocations: 173 kB / 24.06 MB, free: 452 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 1.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.102 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.07579/0.07579, allocations: 12.76 MB / 273.8 MB, free: 15.95 MB / 266.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.453e-06/1.453e-06, allocations: 0 / 347.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.357e-05, allocations: 5.125 kB / 347.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.00556/0.005583, allocations: 4.614 MB / 351.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.007386, allocations: 0.9931 MB / 352.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.007601, allocations: 15.88 kB / 352.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.007851, allocations: 99 kB / 353 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.008368, allocations: 265.8 kB / 353.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.008687, allocations: 159.7 kB / 353.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.009453, allocations: 0.8162 MB / 354.3 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.00974, allocations: 124.9 kB / 354.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004941/0.01023, allocations: 427 kB / 354.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.01057, allocations: 247.2 kB / 355 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.01062, allocations: 48 kB / 355.1 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.01068, allocations: 44 kB / 355.1 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.01074, allocations: 107.6 kB / 355.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.01089, allocations: 219.5 kB / 355.5 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.01124, allocations: 446.4 kB / 355.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01125, allocations: 0 / 355.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01125, allocations: 0 / 355.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01125, allocations: 0 / 355.9 MB, free: 8.926 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.0008009/0.01205, allocations: 0.8439 MB / 356.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001807/0.01223, allocations: 11.98 kB / 356.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.01233, allocations: 92.56 kB / 356.8 MB, free: 7.945 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.01265, allocations: 336.1 kB / 357.2 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.01276, allocations: 136.4 kB / 357.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.0128, allocations: 44.31 kB / 357.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.01318, allocations: 402.5 kB / 357.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01319, allocations: 192 / 357.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.01322, allocations: 19.94 kB / 357.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.01323, allocations: 12 kB / 357.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.01341, allocations: 142.9 kB / 357.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009558/0.01436, allocations: 0.8533 MB / 358.8 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.01461, allocations: 222.3 kB / 359 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.01489, allocations: 216 kB / 359.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.01491, allocations: 12.22 kB / 359.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.01511, allocations: 253.3 kB / 359.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.01511, allocations: 0 / 359.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003882/0.0155, allocations: 304.8 kB / 359.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.01553, allocations: 63.39 kB / 359.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.0157, allocations: 322.1 kB / 360.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.01573, allocations: 37.7 kB / 360.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.01615, allocations: 283.3 kB / 360.4 MB, free: 4.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.01622, allocations: 115 kB / 360.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.01629, allocations: 83.25 kB / 360.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.01642, allocations: 0.5195 MB / 361.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.01648, allocations: 40.47 kB / 361.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/0.01657, allocations: 98.3 kB / 361.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.01675, allocations: 172.8 kB / 361.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01675, allocations: 0 / 361.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002669/0.01702, allocations: 270.7 kB / 361.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01703, allocations: 5.719 kB / 361.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01704, allocations: 0 / 361.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.01705, allocations: 4 kB / 361.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.01741, allocations: 127.8 kB / 361.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.01741, allocations: 0 / 361.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.01753, allocations: 43.77 kB / 361.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01754, allocations: 11.98 kB / 361.9 MB, free: 2.605 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.0001568/0.0177, allocations: 197.2 kB / 362.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.01775, allocations: 55.8 kB / 362.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.01806, allocations: 273.2 kB / 362.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01806, allocations: 4 kB / 362.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01807, allocations: 0 / 362.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01807, allocations: 0 / 362.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.0187, allocations: 0.6796 MB / 363.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.0187, allocations: 0 / 363.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.01899, allocations: 91.86 kB / 363.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.019, allocations: 0 / 363.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.01902, allocations: 15.98 kB / 363.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01902, allocations: 4 kB / 363.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01902, allocations: 0 / 363.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.01944, allocations: 476.5 kB / 363.7 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.01947, allocations: 39.69 kB / 363.7 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.0195, allocations: 8 kB / 363.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.01963, allocations: 23.97 kB / 363.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.01968, allocations: 31.95 kB / 363.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.01971, allocations: 15.98 kB / 363.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.412e-05/0.0198, allocations: 210.9 kB / 364 MB, free: 456 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0198, allocations: 0 / 364 MB, free: 456 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.02004, allocations: 147.7 kB / 364.1 MB, free: 308 kB / 282.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.616e-05/0.02014, allocations: 113.1 kB / 364.3 MB, free: 184 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.02037, allocations: 184.3 kB / 364.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02037, allocations: 3.938 kB / 364.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.02048, allocations: 112 kB / 364.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.02081, allocations: 109.2 kB / 364.7 MB, free: 15.77 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.001466/0.02228, allocations: 0.9 MB / 365.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.02241, allocations: 211.6 kB / 365.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.02266, allocations: 194.1 kB / 365.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02266, allocations: 4 kB / 366 MB, free: 14.42 MB / 298.7 MB Notification: Performance of Templates: time 0.005565/0.02823, allocations: 5.894 MB / 371.8 MB, free: 8.555 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 > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8624324309639633]