Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.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.0009332/0.0009332, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001013/0.001013, allocations: 181 kB / 23.36 MB, free: 1.129 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 0.9679/0.9679, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.06566/0.06566, allocations: 12.76 MB / 273 MB, free: 180 kB / 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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 293.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.491e-05, allocations: 3.719 kB / 293.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002712/0.002727, allocations: 2.816 MB / 296.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.003546, allocations: 0.6762 MB / 297.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.00364, allocations: 6.906 kB / 297.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.003768, allocations: 37.73 kB / 297.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.003946, allocations: 90.59 kB / 297.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.004076, allocations: 70.55 kB / 297.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.004342, allocations: 313.2 kB / 297.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004455, allocations: 45.77 kB / 297.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.004641, allocations: 164.7 kB / 298.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.004798, allocations: 91.5 kB / 298.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.004829, allocations: 15.88 kB / 298.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.651e-05/0.004855, allocations: 17.91 kB / 298.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.004894, allocations: 45.48 kB / 298.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.004973, allocations: 82.64 kB / 298.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.005182, allocations: 178.3 kB / 298.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005185, allocations: 1.609 kB / 298.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005186, allocations: 0 / 298.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.00519, allocations: 0 / 298.5 MB, free: 9.137 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004993/0.005689, allocations: 451.8 kB / 298.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.005725, allocations: 12.7 kB / 299 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.005774, allocations: 27.7 kB / 299 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.005954, allocations: 179.7 kB / 299.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.006001, allocations: 68.53 kB / 299.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.006026, allocations: 14.91 kB / 299.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.006216, allocations: 192.6 kB / 299.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.006226, allocations: 2.344 kB / 299.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.006239, allocations: 9.5 kB / 299.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.006244, allocations: 6.406 kB / 299.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.803e-05/0.006332, allocations: 46.48 kB / 299.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.006772, allocations: 330.3 kB / 299.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.006933, allocations: 100.9 kB / 299.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.007, allocations: 40.86 kB / 300 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.007018, allocations: 8.141 kB / 300 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.007134, allocations: 147.8 kB / 300.1 MB, free: 8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.003e-06/0.007136, allocations: 3.984 kB / 300.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001582/0.007294, allocations: 107.1 kB / 300.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.007316, allocations: 53.28 kB / 300.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.007387, allocations: 179.5 kB / 300.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.0074, allocations: 31.52 kB / 300.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.007437, allocations: 123.2 kB / 300.6 MB, free: 7.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.007463, allocations: 53.14 kB / 300.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.007508, allocations: 39.86 kB / 300.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.007542, allocations: 332.8 kB / 301 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.007581, allocations: 52.38 kB / 301.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.007626, allocations: 63.61 kB / 301.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.793e-05/0.007714, allocations: 92.5 kB / 301.2 MB, free: 7.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007716, allocations: 1.531 kB / 301.2 MB, free: 7.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001276/0.007844, allocations: 159 kB / 301.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.007865, allocations: 41.73 kB / 301.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007868, allocations: 0 / 301.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.007878, allocations: 1.375 kB / 301.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.008066, allocations: 58.98 kB / 301.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.008071, allocations: 2.641 kB / 301.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.008144, allocations: 28.7 kB / 301.5 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.008153, allocations: 4.688 kB / 301.5 MB, free: 6.918 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 5.241e-05/0.008206, allocations: 119.5 kB / 301.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.008228, allocations: 21.7 kB / 301.6 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.008359, allocations: 111.2 kB / 301.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008362, allocations: 3.125 kB / 301.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.008363, allocations: 0 / 301.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.008368, allocations: 2.266 kB / 301.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.008617, allocations: 290 kB / 302 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008618, allocations: 0 / 302 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.008767, allocations: 49.5 kB / 302.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.00877, allocations: 6.031 kB / 302.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.00878, allocations: 2.203 kB / 302.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008782, allocations: 0.75 kB / 302.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008783, allocations: 1.125 kB / 302.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.008949, allocations: 217.8 kB / 302.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.008967, allocations: 21.84 kB / 302.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.008984, allocations: 5.125 kB / 302.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.009062, allocations: 18.44 kB / 302.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.0091, allocations: 15.53 kB / 302.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.009108, allocations: 7.078 kB / 302.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.009142, allocations: 50.84 kB / 302.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009142, allocations: 0 / 302.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.009294, allocations: 53.28 kB / 302.5 MB, free: 6.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,veins.volume) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.624e-05/0.00936, allocations: 73.86 kB / 302.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.009496, allocations: 161.6 kB / 302.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.0095, allocations: 5.594 kB / 302.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.009552, allocations: 44.31 kB / 302.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.009752, allocations: 54.48 kB / 302.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.0107, allocations: 441.8 kB / 303.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.01073, allocations: 82.62 kB / 303.3 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.029e-05/0.0108, allocations: 25.89 kB / 303.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.01092, allocations: 95.09 kB / 303.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01092, allocations: 0 / 303.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of Templates: time 0.004182/0.01511, allocations: 2.804 MB / 306.2 MB, free: 4.52 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.676414499990642]