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.001921/0.001921, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 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.002355/0.002355, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 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.637/1.637, allocations: 177.1 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 178] 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.0942/0.0942, allocations: 12.75 MB / 271.9 MB, free: 0.5117 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.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.412e-06/1.412e-06, allocations: 0 / 403.1 MB, free: 8.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.155e-05, allocations: 2.281 kB / 403.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.003796/0.003828, allocations: 2.372 MB / 405.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.005084, allocations: 0.6114 MB / 406.1 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.0052, allocations: 3.938 kB / 406.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.005337, allocations: 31.7 kB / 406.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.005576, allocations: 67.41 kB / 406.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.005767, allocations: 59.86 kB / 406.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.00613, allocations: 242.7 kB / 406.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.006267, allocations: 29.78 kB / 406.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.006567, allocations: 127.6 kB / 406.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.006749, allocations: 71.8 kB / 406.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.006784, allocations: 12 kB / 406.7 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/0.006821, allocations: 12 kB / 406.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.006863, allocations: 31.91 kB / 406.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.006959, allocations: 59.84 kB / 406.8 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.007262, allocations: 183.4 kB / 407 MB, free: 4.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.007265, allocations: 0 / 407 MB, free: 4.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007266, allocations: 3.938 kB / 407 MB, free: 4.211 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.007271, allocations: 0 / 407 MB, free: 4.211 MB / 330.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.0008211/0.008092, allocations: 389.8 kB / 407.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.008137, allocations: 11.98 kB / 407.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.008209, allocations: 24.8 kB / 407.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.008507, allocations: 180.2 kB / 407.6 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.008599, allocations: 60.2 kB / 407.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.008635, allocations: 12.38 kB / 407.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.009009, allocations: 167.1 kB / 407.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.009022, allocations: 192 / 407.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.009045, allocations: 11.92 kB / 407.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.009052, allocations: 8 kB / 407.8 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.009384, allocations: 112.6 kB / 407.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.01021, allocations: 381 kB / 408.3 MB, free: 2.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.0108, allocations: 146.5 kB / 408.4 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.01097, allocations: 60.81 kB / 408.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.011, allocations: 4.219 kB / 408.5 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.01126, allocations: 136.9 kB / 408.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.01126, allocations: 0 / 408.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005975/0.01185, allocations: 220.3 kB / 408.9 MB, free: 2.188 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.01191, allocations: 51.41 kB / 408.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01207, allocations: 154.2 kB / 409.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01209, allocations: 25.7 kB / 409.1 MB, free: 1.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.01219, allocations: 123.8 kB / 409.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.01224, allocations: 39.64 kB / 409.2 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.01231, allocations: 33.7 kB / 409.3 MB, free: 1.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.01248, allocations: 322.8 kB / 409.6 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.01262, allocations: 51.91 kB / 409.6 MB, free: 1.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.01278, allocations: 66.55 kB / 409.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.01313, allocations: 122.5 kB / 409.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01313, allocations: 0 / 409.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003983/0.01353, allocations: 173.3 kB / 410 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01355, allocations: 11.94 kB / 410 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01355, allocations: 0 / 410 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01357, allocations: 3.938 kB / 410 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.01391, allocations: 47.97 kB / 410.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01392, allocations: 3.984 kB / 410.1 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.01409, allocations: 15.97 kB / 410.1 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.01412, allocations: 11.98 kB / 410.1 MB, free: 0.8828 MB / 330.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 0.0002453/0.01437, allocations: 137.7 kB / 410.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.01441, allocations: 11.91 kB / 410.2 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006716/0.01508, allocations: 178.4 kB / 410.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.01509, allocations: 7.922 kB / 410.4 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.0151, allocations: 0 / 410.4 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.0151, allocations: 0 / 410.4 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.01616, allocations: 418 kB / 410.8 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.01617, allocations: 4 kB / 410.8 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.01658, allocations: 35.97 kB / 410.9 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.01658, allocations: 3.938 kB / 410.9 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.01661, allocations: 8 kB / 410.9 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.01661, allocations: 3.984 kB / 410.9 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.01663, allocations: 3.984 kB / 410.9 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1864/0.2031, allocations: 323.3 kB / 411.2 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.2031, allocations: 16.75 kB / 411.2 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.2032, allocations: 5.281 kB / 411.2 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.2034, allocations: 10.92 kB / 411.2 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.2035, allocations: 16.45 kB / 411.3 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.2035, allocations: 5.672 kB / 411.3 MB, free: 21.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.2036, allocations: 115.1 kB / 411.4 MB, free: 21.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2036, allocations: 0 / 411.4 MB, free: 21.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004677/0.2041, allocations: 41.52 kB / 411.4 MB, free: 21.41 MB / 330.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 0.0001201/0.2042, allocations: 99.12 kB / 411.5 MB, free: 21.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.2047, allocations: 128.2 kB / 411.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2047, allocations: 0 / 411.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.2049, allocations: 59.36 kB / 411.7 MB, free: 21.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.2055, allocations: 27.98 kB / 411.7 MB, free: 21.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.2063, allocations: 332.7 kB / 412 MB, free: 21.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2064, allocations: 109.8 kB / 412.2 MB, free: 21.08 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.2065, allocations: 16.58 kB / 412.2 MB, free: 21.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.2066, allocations: 19.27 kB / 412.2 MB, free: 21.07 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2066, allocations: 0 / 412.2 MB, free: 21.07 MB / 330.7 MB Notification: Performance of Templates: time 0.007401/0.214, allocations: 1.737 MB / 413.9 MB, free: 20.92 MB / 330.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: 5.372940932866186]