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.0009969/0.0009969, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.00233, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.004027/0.004027, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.005253, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08447/1.104, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.05693/0.05693, allocations: 12.75 MB / 256.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008039/0.06497, allocations: 4.821 MB / 261.5 MB, free: 13.27 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.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.583e-06/1.583e-06, allocations: 0 / 263 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.045e-05, allocations: 6.312 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.003594/0.003614, allocations: 3.851 MB / 266.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004705, allocations: 0.8645 MB / 267.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.004832, allocations: 11.88 kB / 267.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.004954, allocations: 71.28 kB / 267.8 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.005221, allocations: 230 kB / 268 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.005375, allocations: 99.84 kB / 268.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.005746, allocations: 0.6336 MB / 268.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.005896, allocations: 97.5 kB / 268.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.006171, allocations: 359.6 kB / 269.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.006385, allocations: 171.5 kB / 269.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.006427, allocations: 28 kB / 269.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.034e-05/0.006467, allocations: 32 kB / 269.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.006509, allocations: 55.75 kB / 269.5 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.006614, allocations: 139.8 kB / 269.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.006891, allocations: 314.8 kB / 269.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.006905, allocations: 0 / 269.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006906, allocations: 0 / 269.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.00692, allocations: 0 / 269.9 MB, free: 4.855 MB / 266.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.0006483/0.007568, allocations: 0.667 MB / 270.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.66e-05/0.007595, allocations: 16.03 kB / 270.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.007656, allocations: 52.91 kB / 270.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.007926, allocations: 252.4 kB / 270.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.008005, allocations: 132 kB / 271 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.008037, allocations: 32.38 kB / 271 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.0083, allocations: 330 kB / 271.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.008312, allocations: 192 / 271.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.008331, allocations: 15.94 kB / 271.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.008337, allocations: 7.984 kB / 271.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.00846, allocations: 95.16 kB / 271.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.0091, allocations: 0.5202 MB / 272 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.009273, allocations: 146.4 kB / 272.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.009425, allocations: 120.8 kB / 272.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.009448, allocations: 4 kB / 272.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.009467, allocations: 34.56 kB / 272.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.009468, allocations: 0 / 272.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002085/0.009677, allocations: 148.9 kB / 272.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.009701, allocations: 55.41 kB / 272.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.009825, allocations: 243 kB / 272.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.00984, allocations: 29.7 kB / 272.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.009911, allocations: 181.1 kB / 272.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.00995, allocations: 83.31 kB / 273 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.01, allocations: 53.67 kB / 273.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.01007, allocations: 346.7 kB / 273.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.01011, allocations: 27.97 kB / 273.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.01015, allocations: 31.98 kB / 273.5 MB, free: 1.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.01024, allocations: 84.72 kB / 273.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.01025, allocations: 3.984 kB / 273.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001309/0.01038, allocations: 138.1 kB / 273.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.01039, allocations: 4 kB / 273.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.01039, allocations: 0 / 273.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.0104, allocations: 4 kB / 273.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.01073, allocations: 107.8 kB / 273.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01073, allocations: 4 kB / 273.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.01081, allocations: 31.78 kB / 273.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.01082, allocations: 11.98 kB / 273.9 MB, free: 0.6914 MB / 266.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 6.77e-05/0.01089, allocations: 113.8 kB / 274 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01092, allocations: 23.98 kB / 274 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.01109, allocations: 147.8 kB / 274.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.0111, allocations: 7.984 kB / 274.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.0111, allocations: 0 / 274.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.0111, allocations: 3.984 kB / 274.1 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.01128, allocations: 193.6 kB / 274.3 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01128, allocations: 0 / 274.3 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.01154, allocations: 91.84 kB / 274.4 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.01157, allocations: 39.69 kB / 274.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01157, allocations: 4 kB / 274.5 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01158, allocations: 3.984 kB / 274.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.01158, allocations: 0 / 274.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.01158, allocations: 0 / 274.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.118/0.1296, allocations: 258.1 kB / 274.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.1296, allocations: 4.062 kB / 274.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1299, allocations: 15.45 kB / 274.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1299, allocations: 16.81 kB / 274.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1299, allocations: 7.141 kB / 274.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.13, allocations: 88.2 kB / 274.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.13, allocations: 0 / 274.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.1304, allocations: 108 kB / 275 MB, free: 8.688 MB / 266.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.0001114/0.1305, allocations: 77.89 kB / 275 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1308, allocations: 108.6 kB / 275.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/0.1308, allocations: 4.891 kB / 275.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.496e-05/0.1309, allocations: 64.52 kB / 275.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.1313, allocations: 119.1 kB / 275.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.1463, allocations: 0.6017 MB / 275.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.1464, allocations: 96.31 kB / 276 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.1466, allocations: 39.58 kB / 276.1 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.1469, allocations: 141.9 kB / 276.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1469, allocations: 4.766 kB / 276.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of Templates: time 0.007904/0.1548, allocations: 4.759 MB / 281 MB, free: 7.66 MB / 266.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.7721522906795144]