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.001212/0.001212, allocations: 100.3 kB / 19.7 MB, free: 444 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.001416/0.001416, allocations: 213.1 kB / 23 MB, free: 2.984 MB / 13.93 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.031/1.031, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.06055/0.06055, allocations: 17.16 MB / 330.4 MB, free: 0.7148 MB / 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 460.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.0876, allocations: 57.77 MB / 0.5064 GB, free: 1.16 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.002948/0.09055, allocations: 3.466 MB / 0.5098 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.09145, allocations: 0.8219 MB / 0.5106 GB, free: 12.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.09157, allocations: 15.88 kB / 0.5106 GB, free: 12.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.09172, allocations: 67.28 kB / 0.5107 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.092, allocations: 210.4 kB / 0.5109 GB, free: 12.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.09215, allocations: 111.8 kB / 0.511 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.09252, allocations: 0.5871 MB / 0.5116 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.0927, allocations: 96.75 kB / 0.5117 GB, free: 11.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.09285, allocations: 211.3 kB / 0.5119 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.0932, allocations: 207 kB / 0.512 GB, free: 11.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.09323, allocations: 28 kB / 0.5121 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.09328, allocations: 28 kB / 0.5121 GB, free: 11.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.09332, allocations: 79.62 kB / 0.5122 GB, free: 11.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.09344, allocations: 191.2 kB / 0.5124 GB, free: 11.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.09375, allocations: 454 kB / 0.5128 GB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.09376, allocations: 7.984 kB / 0.5128 GB, free: 10.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09376, allocations: 0 / 0.5128 GB, free: 10.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.09377, allocations: 0 / 0.5128 GB, free: 10.58 MB / 378.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.0006849/0.09445, allocations: 0.6101 MB / 0.5134 GB, free: 9.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.09448, allocations: 8.031 kB / 0.5134 GB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.09454, allocations: 44.7 kB / 0.5134 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.09485, allocations: 277.2 kB / 0.5137 GB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.09494, allocations: 128 kB / 0.5138 GB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.09498, allocations: 28.38 kB / 0.5139 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.09537, allocations: 396.7 kB / 0.5142 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.09538, allocations: 0 / 0.5142 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.0954, allocations: 12 kB / 0.5143 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.09541, allocations: 8 kB / 0.5143 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.09574, allocations: 242.5 kB / 0.5145 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.09659, allocations: 0.7034 MB / 0.5152 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.09692, allocations: 242.3 kB / 0.5154 GB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.09718, allocations: 168.7 kB / 0.5156 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.09721, allocations: 7.984 kB / 0.5156 GB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.09723, allocations: 38.94 kB / 0.5156 GB, free: 7.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.09723, allocations: 0 / 0.5156 GB, free: 7.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004946/0.09772, allocations: 329.2 kB / 0.5159 GB, free: 7.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.09775, allocations: 55.41 kB / 0.516 GB, free: 7.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.09792, allocations: 252.2 kB / 0.5162 GB, free: 6.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.09793, allocations: 29.7 kB / 0.5162 GB, free: 6.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.09802, allocations: 212.4 kB / 0.5165 GB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.09807, allocations: 83.27 kB / 0.5165 GB, free: 6.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.09812, allocations: 49.7 kB / 0.5166 GB, free: 6.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.0982, allocations: 346.8 kB / 0.5169 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.09834, allocations: 79.95 kB / 0.517 GB, free: 6.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.09846, allocations: 95.94 kB / 0.5171 GB, free: 5.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.09872, allocations: 189.8 kB / 0.5173 GB, free: 5.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.09872, allocations: 7.938 kB / 0.5173 GB, free: 5.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003289/0.09905, allocations: 281.3 kB / 0.5175 GB, free: 5.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.09906, allocations: 8 kB / 0.5175 GB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.09907, allocations: 0 / 0.5175 GB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.09908, allocations: 0 / 0.5175 GB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.09942, allocations: 99.86 kB / 0.5176 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.09942, allocations: 0 / 0.5176 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.09951, allocations: 31.83 kB / 0.5177 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.09953, allocations: 7.984 kB / 0.5177 GB, free: 5.363 MB / 378.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 9.729e-05/0.09962, allocations: 141.8 kB / 0.5178 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.09966, allocations: 35.81 kB / 0.5178 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.1, allocations: 271 kB / 0.5181 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1, allocations: 0 / 0.5181 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1, allocations: 4 kB / 0.5181 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1, allocations: 0 / 0.5181 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.1003, allocations: 265.1 kB / 0.5184 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1003, allocations: 11.92 kB / 0.5184 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1005, allocations: 87.81 kB / 0.5185 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1005, allocations: 0 / 0.5185 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1006, allocations: 11.97 kB / 0.5185 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1006, allocations: 8 kB / 0.5185 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1006, allocations: 0 / 0.5185 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.1013, allocations: 455.1 kB / 0.5189 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.1013, allocations: 31.73 kB / 0.5189 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1013, allocations: 11.98 kB / 0.5189 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1014, allocations: 15.98 kB / 0.519 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1014, allocations: 11.98 kB / 0.519 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1015, allocations: 11.98 kB / 0.519 GB, free: 3.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1016, allocations: 183.1 kB / 0.5192 GB, free: 3.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1016, allocations: 0 / 0.5192 GB, free: 3.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.1018, allocations: 107.8 kB / 0.5193 GB, free: 3.672 MB / 378.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 6.941e-05/0.1018, allocations: 99.19 kB / 0.5194 GB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.1022, allocations: 215.8 kB / 0.5196 GB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1022, allocations: 0 / 0.5196 GB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1023, allocations: 114.8 kB / 0.5197 GB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1026, allocations: 87.27 kB / 0.5198 GB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.1035, allocations: 0.8145 MB / 0.5206 GB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.1036, allocations: 173.1 kB / 0.5207 GB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.1037, allocations: 39.36 kB / 0.5208 GB, free: 2.082 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1037, allocations: 0 / 0.5208 GB, free: 2.082 MB / 378.7 MB Notification: Performance of Templates: time 0.004285/0.108, allocations: 4.445 MB / 0.5251 GB, free: 13.66 MB / 394.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 > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2195303230546415]