Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.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.0009629/0.0009629, allocations: 73.97 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.001051/0.001051, allocations: 169.4 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.9572/0.9572, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.06374/0.06374, allocations: 12.76 MB / 273.8 MB, free: 136 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.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 348.1 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.039e-05, allocations: 4.703 kB / 348.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.004392/0.004412, allocations: 3.811 MB / 351.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.005907, allocations: 0.8412 MB / 352.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.0061, allocations: 19.88 kB / 352.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.006317, allocations: 75.27 kB / 352.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.006766, allocations: 218.1 kB / 353.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.007014, allocations: 107.8 kB / 353.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.007666, allocations: 0.618 MB / 353.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.007915, allocations: 104.8 kB / 353.9 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.00835, allocations: 303.4 kB / 354.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003397/0.008689, allocations: 187.4 kB / 354.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.008753, allocations: 28 kB / 354.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.00882, allocations: 28 kB / 354.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.008896, allocations: 75.67 kB / 354.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.009097, allocations: 159.7 kB / 354.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.009589, allocations: 334.8 kB / 355 MB, free: 9.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.009594, allocations: 0 / 355 MB, free: 9.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.009595, allocations: 0 / 355 MB, free: 9.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.009603, allocations: 7.938 kB / 355 MB, free: 9.871 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001083/0.01069, allocations: 0.7022 MB / 355.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.01073, allocations: 15.98 kB / 355.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01086, allocations: 72.66 kB / 355.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.01129, allocations: 283.2 kB / 356.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.01141, allocations: 132 kB / 356.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.01146, allocations: 28.38 kB / 356.2 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.0119, allocations: 314.1 kB / 356.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01192, allocations: 4.141 kB / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.01195, allocations: 15.94 kB / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.01196, allocations: 8 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.01219, allocations: 119 kB / 356.7 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.01343, allocations: 0.6681 MB / 357.3 MB, free: 7.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.01377, allocations: 148.8 kB / 357.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.01408, allocations: 123.6 kB / 357.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.01411, allocations: 8 kB / 357.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.01415, allocations: 37.39 kB / 357.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.505e-06/0.01415, allocations: 0 / 357.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004589/0.01461, allocations: 192.7 kB / 357.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.01465, allocations: 59.34 kB / 357.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.01492, allocations: 314.1 kB / 358.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.01494, allocations: 25.7 kB / 358.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.0151, allocations: 251.2 kB / 358.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.01517, allocations: 87.3 kB / 358.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.01527, allocations: 59.27 kB / 358.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.01546, allocations: 0.5117 MB / 359.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.01554, allocations: 27.97 kB / 359.1 MB, free: 5.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.01562, allocations: 39.97 kB / 359.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.0158, allocations: 91.58 kB / 359.3 MB, free: 5.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01581, allocations: 0 / 359.3 MB, free: 5.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003315/0.01614, allocations: 190 kB / 359.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.01616, allocations: 10.91 kB / 359.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01617, allocations: 0 / 359.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.01618, allocations: 0 / 359.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.01673, allocations: 95.86 kB / 359.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01673, allocations: 8 kB / 359.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.01689, allocations: 23.88 kB / 359.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.01691, allocations: 4 kB / 359.6 MB, free: 5.016 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001333/0.01704, allocations: 168.5 kB / 359.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.01712, allocations: 35.81 kB / 359.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.01747, allocations: 175.8 kB / 360 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01748, allocations: 3.938 kB / 360 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01748, allocations: 8 kB / 360 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01748, allocations: 0 / 360 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.01784, allocations: 213 kB / 360.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01785, allocations: 0 / 360.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.01831, allocations: 83.86 kB / 360.3 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01832, allocations: 4 kB / 360.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.01834, allocations: 4 kB / 360.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01834, allocations: 0 / 360.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01834, allocations: 0 / 360.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.01883, allocations: 361.5 kB / 360.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.01888, allocations: 31.72 kB / 360.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.01892, allocations: 4 kB / 360.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.01909, allocations: 12 kB / 360.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.01913, allocations: 19.91 kB / 360.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.01915, allocations: 7.984 kB / 360.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.0193, allocations: 206.9 kB / 360.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0193, allocations: 0 / 360.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.01968, allocations: 107.8 kB / 361 MB, free: 3.539 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001319/0.01981, allocations: 99.19 kB / 361.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.02009, allocations: 114.7 kB / 361.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02009, allocations: 0 / 361.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.02021, allocations: 75.44 kB / 361.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.02076, allocations: 96.8 kB / 361.4 MB, free: 3.141 MB / 282.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.001811/0.02257, allocations: 0.7109 MB / 362.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.883e-05/0.02265, allocations: 100.5 kB / 362.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.02283, allocations: 34.97 kB / 362.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.02313, allocations: 174.1 kB / 362.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02313, allocations: 0 / 362.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of Templates: time 0.008385/0.03151, allocations: 4.52 MB / 366.9 MB, free: 13.65 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8700592550449073]