Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.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.0009223/0.0009223, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.0008925/0.0008925, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.018/1.018, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.05975/0.05975, allocations: 12.74 MB / 272.7 MB, free: 0.5 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_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 403.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.583e-05, allocations: 5.375 kB / 403.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.00275/0.002776, allocations: 2.513 MB / 405.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008964/0.003672, allocations: 0.6426 MB / 406.2 MB, free: 5.746 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.003779, allocations: 11.94 kB / 406.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003905, allocations: 35.64 kB / 406.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.004092, allocations: 83.25 kB / 406.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.00424, allocations: 71.78 kB / 406.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.004483, allocations: 286.5 kB / 406.7 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.004617, allocations: 37.78 kB / 406.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.00487, allocations: 163.6 kB / 406.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.005002, allocations: 71.8 kB / 407 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.00503, allocations: 16 kB / 407 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.612e-05/0.005056, allocations: 16 kB / 407 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.005092, allocations: 43.83 kB / 407.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.005165, allocations: 75.83 kB / 407.1 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.005385, allocations: 215.3 kB / 407.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005387, allocations: 4 kB / 407.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005389, allocations: 4 kB / 407.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.005393, allocations: 0 / 407.3 MB, free: 4.629 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006175/0.006011, allocations: 421.4 kB / 407.8 MB, free: 4.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.006049, allocations: 19.97 kB / 407.8 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.006103, allocations: 24.73 kB / 407.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.006336, allocations: 190 kB / 408 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.006438, allocations: 119.4 kB / 408.1 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.006468, allocations: 16.38 kB / 408.1 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.006732, allocations: 197.1 kB / 408.3 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.006744, allocations: 192 / 408.3 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.006763, allocations: 11.94 kB / 408.3 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.006769, allocations: 4 kB / 408.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.006992, allocations: 139.9 kB / 408.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.007614, allocations: 428 kB / 408.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.008001, allocations: 170.4 kB / 409 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.008106, allocations: 76.75 kB / 409.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.008127, allocations: 3.938 kB / 409.1 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.008293, allocations: 137 kB / 409.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.008295, allocations: 0 / 409.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003956/0.00869, allocations: 236 kB / 409.5 MB, free: 2.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.008724, allocations: 55.34 kB / 409.5 MB, free: 2.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.008834, allocations: 167.2 kB / 409.7 MB, free: 2.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.008853, allocations: 33.7 kB / 409.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.008916, allocations: 132.4 kB / 409.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.008952, allocations: 51.53 kB / 409.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.008998, allocations: 33.7 kB / 410 MB, free: 1.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.009077, allocations: 326.8 kB / 410.3 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.00917, allocations: 55.95 kB / 410.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.00927, allocations: 83.64 kB / 410.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.009499, allocations: 150.3 kB / 410.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.009502, allocations: 0 / 410.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005164/0.01002, allocations: 201.3 kB / 410.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01003, allocations: 7.984 kB / 410.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01004, allocations: 0 / 410.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01005, allocations: 4 kB / 410.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.0103, allocations: 68.02 kB / 410.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01031, allocations: 0 / 410.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.01038, allocations: 23.88 kB / 410.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.01039, allocations: 8 kB / 410.9 MB, free: 0.875 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: 4 * 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 (20): * Single equations (assignments): 20 * 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.0001387/0.01053, allocations: 145.7 kB / 411 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.01054, allocations: 15.84 kB / 411 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.01082, allocations: 191 kB / 411.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01083, allocations: 0 / 411.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01083, allocations: 0 / 411.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01083, allocations: 0 / 411.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.01128, allocations: 458.1 kB / 411.7 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01128, allocations: 0 / 411.7 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1482/0.1595, allocations: 56.78 kB / 411.7 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.1595, allocations: 1.406 kB / 411.7 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.1595, allocations: 8.531 kB / 411.7 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.1595, allocations: 1.156 kB / 411.7 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1595, allocations: 2.062 kB / 411.7 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.1601, allocations: 344.9 kB / 412.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1602, allocations: 14.47 kB / 412.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1602, allocations: 8.062 kB / 412.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.1603, allocations: 11.36 kB / 412.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.1604, allocations: 17.39 kB / 412.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1604, allocations: 8.875 kB / 412.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.703e-05/0.1604, allocations: 120 kB / 412.2 MB, free: 21.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1604, allocations: 6.094 kB / 412.2 MB, free: 21.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.1607, allocations: 52.73 kB / 412.3 MB, free: 21.27 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 (15): * Single equations (assignments): 12 * 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 9.434e-05/0.1608, allocations: 100.8 kB / 412.4 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.161, allocations: 138.9 kB / 412.5 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.161, allocations: 0 / 412.5 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1612, allocations: 69.06 kB / 412.6 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1614, allocations: 39.02 kB / 412.6 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.162, allocations: 399.2 kB / 413 MB, free: 20.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.982e-05/0.1621, allocations: 109.9 kB / 413.1 MB, free: 20.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.1622, allocations: 25.28 kB / 413.2 MB, free: 20.89 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1622, allocations: 0 / 413.2 MB, free: 20.89 MB / 330.7 MB Notification: Performance of Templates: time 0.003926/0.1661, allocations: 2.36 MB / 415.5 MB, free: 20.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.783748741727322]