Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.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.001129/0.001129, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001089/0.001089, allocations: 169 kB / 24.22 MB, free: 244 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.9977/0.9977, allocations: 177.1 MB / 204.7 MB, free: 5.012 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.06946/0.06946, allocations: 12.75 MB / 273.9 MB, free: 15.96 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.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 294.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.719e-06/1.099e-05, allocations: 3.016 kB / 294.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.00344/0.003451, allocations: 2.565 MB / 297.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000973/0.004424, allocations: 0.6297 MB / 298.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004531, allocations: 2.375 kB / 298.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.004674, allocations: 31.84 kB / 298.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.004861, allocations: 76.2 kB / 298.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.005007, allocations: 58.17 kB / 298.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.005249, allocations: 236.6 kB / 298.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.005357, allocations: 29.52 kB / 298.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.005585, allocations: 124.6 kB / 298.6 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.005726, allocations: 66.91 kB / 298.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.005754, allocations: 11.88 kB / 298.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.192e-05/0.005786, allocations: 16.66 kB / 298.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.00582, allocations: 39.53 kB / 298.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.005889, allocations: 61.72 kB / 298.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.006081, allocations: 127.5 kB / 298.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006083, allocations: 1.031 kB / 298.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006084, allocations: 0 / 298.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.135e-06/0.006087, allocations: 0 / 298.9 MB, free: 9.207 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004979/0.006585, allocations: 367.8 kB / 299.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.00662, allocations: 17.56 kB / 299.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.006668, allocations: 22.66 kB / 299.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.00686, allocations: 167.9 kB / 299.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.006917, allocations: 63.61 kB / 299.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.006944, allocations: 13.92 kB / 299.6 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.007133, allocations: 144.4 kB / 299.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.007144, allocations: 4.172 kB / 299.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.007157, allocations: 5.609 kB / 299.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.007165, allocations: 7.812 kB / 299.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.007253, allocations: 40.86 kB / 299.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.007712, allocations: 285.8 kB / 300 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.007967, allocations: 86.08 kB / 300.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.008009, allocations: 28.89 kB / 300.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.008025, allocations: 2.75 kB / 300.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.904e-05/0.008124, allocations: 107.7 kB / 300.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.008125, allocations: 3.938 kB / 300.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001794/0.008305, allocations: 93.17 kB / 300.4 MB, free: 8.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.008328, allocations: 57.47 kB / 300.4 MB, free: 8.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.008402, allocations: 149.4 kB / 300.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.008414, allocations: 27.14 kB / 300.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.008451, allocations: 116.3 kB / 300.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.008478, allocations: 43.66 kB / 300.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.008525, allocations: 31.5 kB / 300.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.00856, allocations: 322.7 kB / 301.1 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.00859, allocations: 16.06 kB / 301.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.008638, allocations: 37.7 kB / 301.1 MB, free: 7.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.008738, allocations: 77.52 kB / 301.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00874, allocations: 1.766 kB / 301.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001047/0.008845, allocations: 85.06 kB / 301.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.008855, allocations: 6.344 kB / 301.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008859, allocations: 0.625 kB / 301.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.008867, allocations: 1.938 kB / 301.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.009064, allocations: 70.53 kB / 301.4 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.009067, allocations: 2.312 kB / 301.4 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.009118, allocations: 12.39 kB / 301.4 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.009126, allocations: 7.188 kB / 301.4 MB, free: 7.355 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 variables: pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real 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: 7 ($PRE.pulses.HP,$PRE.pulses.T0,pulses.b,$whenCondition1,pulses.TD2,pulses.HP,pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.177e-05/0.009198, allocations: 135 kB / 301.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.009214, allocations: 10.7 kB / 301.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.009326, allocations: 89.23 kB / 301.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009328, allocations: 1.156 kB / 301.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.009331, allocations: 4.875 kB / 301.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.009334, allocations: 1.156 kB / 301.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.009552, allocations: 275.2 kB / 301.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.009552, allocations: 0 / 301.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.009693, allocations: 45.72 kB / 301.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.009695, allocations: 0 / 301.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.009705, allocations: 11.44 kB / 302 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.009707, allocations: 0.75 kB / 302 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009708, allocations: 0 / 302 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.009847, allocations: 198.1 kB / 302.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.009859, allocations: 12.66 kB / 302.2 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.009873, allocations: 13.91 kB / 302.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.00993, allocations: 8.5 kB / 302.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.009961, allocations: 11.97 kB / 302.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.009973, allocations: 4.234 kB / 302.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.009999, allocations: 32.81 kB / 302.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009999, allocations: 1.375 kB / 302.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.01014, allocations: 46.48 kB / 302.3 MB, free: 6.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.volume) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 5.279e-05/0.01019, allocations: 79.78 kB / 302.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.01029, allocations: 68.39 kB / 302.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.01029, allocations: 1.375 kB / 302.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.01034, allocations: 44.61 kB / 302.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.0105, allocations: 33.78 kB / 302.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.01135, allocations: 388.7 kB / 302.9 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.111e-05/0.01138, allocations: 68.52 kB / 303 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.01144, allocations: 18.92 kB / 303 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.01154, allocations: 80.75 kB / 303 MB, free: 6.266 MB / 266.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01154, allocations: 1.219 kB / 303.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of Templates: time 0.003694/0.01523, allocations: 1.965 MB / 305 MB, free: 5.688 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6936452155932784]