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.001316/0.001316, allocations: 80.88 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.001673/0.001673, 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.9784/0.9784, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.05297/0.05297, allocations: 12.76 MB / 273.9 MB, free: 136 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 2.194e-06/2.194e-06, allocations: 0.7031 kB / 294.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.527e-05, allocations: 4.781 kB / 294.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.00268/0.002695, allocations: 2.854 MB / 297.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.003633, allocations: 0.6713 MB / 298.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.003729, allocations: 6.875 kB / 298.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.003854, allocations: 42.23 kB / 298.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.004034, allocations: 90.44 kB / 298.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.004171, allocations: 75.14 kB / 298.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.004414, allocations: 314 kB / 298.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004519, allocations: 40.72 kB / 299 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.004705, allocations: 161.9 kB / 299.1 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.004854, allocations: 94.36 kB / 299.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.004885, allocations: 16.56 kB / 299.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-05/0.004917, allocations: 18.31 kB / 299.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.004949, allocations: 40.47 kB / 299.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.005018, allocations: 82.84 kB / 299.4 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.005213, allocations: 179.4 kB / 299.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005215, allocations: 0 / 299.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005216, allocations: 0 / 299.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.00522, allocations: 1.125 kB / 299.5 MB, free: 8.992 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.0004407/0.00566, allocations: 451.4 kB / 300 MB, free: 8.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.005694, allocations: 13.36 kB / 300 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.005739, allocations: 26.73 kB / 300 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.005906, allocations: 182.6 kB / 300.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.005945, allocations: 68.16 kB / 300.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.005968, allocations: 14.44 kB / 300.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.006152, allocations: 196.2 kB / 300.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006161, allocations: 2.016 kB / 300.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006173, allocations: 8.875 kB / 300.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006178, allocations: 8.438 kB / 300.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.006257, allocations: 48.92 kB / 300.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.006668, allocations: 327.5 kB / 300.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.006817, allocations: 102.5 kB / 301 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.006884, allocations: 46.66 kB / 301 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.0069, allocations: 4.109 kB / 301 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.00701, allocations: 141.2 kB / 301.1 MB, free: 7.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.113e-06/0.007011, allocations: 0 / 301.1 MB, free: 7.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001528/0.007164, allocations: 114.7 kB / 301.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.007183, allocations: 53.69 kB / 301.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.007255, allocations: 180.6 kB / 301.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.007267, allocations: 27.39 kB / 301.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.007304, allocations: 125.9 kB / 301.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.00733, allocations: 50.78 kB / 301.7 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.007372, allocations: 39.17 kB / 301.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.007406, allocations: 330.4 kB / 302 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.007441, allocations: 43.86 kB / 302.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/0.00749, allocations: 72.48 kB / 302.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.00757, allocations: 97.33 kB / 302.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007572, allocations: 3.938 kB / 302.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001161/0.007688, allocations: 157.9 kB / 302.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.007706, allocations: 36.64 kB / 302.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007711, allocations: 1.375 kB / 302.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.007718, allocations: 6.078 kB / 302.4 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.007928, allocations: 72.28 kB / 302.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.007931, allocations: 1.375 kB / 302.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.008, allocations: 21.12 kB / 302.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.008011, allocations: 10.27 kB / 302.6 MB, free: 6.77 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 4.798e-05/0.008059, allocations: 118.7 kB / 302.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.008079, allocations: 17.83 kB / 302.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.008197, allocations: 107.5 kB / 302.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008199, allocations: 2.875 kB / 302.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.0082, allocations: 0 / 302.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008203, allocations: 0.9844 kB / 302.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.008453, allocations: 308.5 kB / 303.1 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008455, allocations: 2.047 kB / 303.1 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.008624, allocations: 55.34 kB / 303.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008626, allocations: 0 / 303.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.008637, allocations: 6.484 kB / 303.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.00864, allocations: 1.688 kB / 303.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00864, allocations: 0 / 303.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.008795, allocations: 217.6 kB / 303.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.008812, allocations: 22.53 kB / 303.4 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.008827, allocations: 1.219 kB / 303.4 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.008902, allocations: 19.95 kB / 303.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.008939, allocations: 13.73 kB / 303.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.008949, allocations: 8.219 kB / 303.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.008984, allocations: 45.02 kB / 303.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008984, allocations: 0 / 303.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.009147, allocations: 50.27 kB / 303.5 MB, free: 6.164 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 5.934e-05/0.009206, allocations: 77.44 kB / 303.6 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.009355, allocations: 165.4 kB / 303.8 MB, free: 5.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.009358, allocations: 5.75 kB / 303.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.615e-05/0.009415, allocations: 40.5 kB / 303.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.009608, allocations: 63.7 kB / 303.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.01056, allocations: 436 kB / 304.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.0106, allocations: 78.25 kB / 304.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.631e-05/0.01068, allocations: 25.89 kB / 304.4 MB, free: 5.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.0108, allocations: 100.8 kB / 304.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0108, allocations: 4 kB / 304.5 MB, free: 5.516 MB / 266.7 MB Notification: Performance of Templates: time 0.004237/0.01503, allocations: 2.86 MB / 307.4 MB, free: 4.289 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.6789614129811525]