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.001056/0.001056, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001651/0.001651, allocations: 173 kB / 23.36 MB, free: 1.133 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.9925/0.9925, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.06263/0.06263, allocations: 12.75 MB / 273 MB, free: 160 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.184e-06/2.184e-06, allocations: 0 / 293.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.726e-05, allocations: 2.312 kB / 293.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.004778/0.004805, allocations: 2.848 MB / 296.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.006388, allocations: 0.6791 MB / 297.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.006559, allocations: 7.312 kB / 297.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.006716, allocations: 41.28 kB / 297.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.007032, allocations: 91.16 kB / 297.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.007274, allocations: 66.83 kB / 297.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.007671, allocations: 316.8 kB / 298 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.007811, allocations: 45.2 kB / 298 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.008095, allocations: 161.5 kB / 298.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.008311, allocations: 90.98 kB / 298.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.00836, allocations: 21.53 kB / 298.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.201e-05/0.008412, allocations: 16.53 kB / 298.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.008454, allocations: 41.38 kB / 298.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.008559, allocations: 82.05 kB / 298.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.008854, allocations: 176.4 kB / 298.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.008859, allocations: 4 kB / 298.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00886, allocations: 0 / 298.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.008868, allocations: 0 / 298.6 MB, free: 9.043 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.0006763/0.009544, allocations: 451.4 kB / 299 MB, free: 8.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.009579, allocations: 13.8 kB / 299 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.009641, allocations: 26.61 kB / 299.1 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.009861, allocations: 183.6 kB / 299.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.009911, allocations: 64.77 kB / 299.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.009939, allocations: 15.75 kB / 299.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.01016, allocations: 196.5 kB / 299.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01017, allocations: 1.5 kB / 299.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.01019, allocations: 9.406 kB / 299.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.01019, allocations: 5.109 kB / 299.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.01029, allocations: 48.98 kB / 299.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.0108, allocations: 327.5 kB / 299.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.01097, allocations: 105.8 kB / 300 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.01104, allocations: 46.33 kB / 300 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01106, allocations: 4.516 kB / 300.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.01119, allocations: 139.5 kB / 300.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.01119, allocations: 0 / 300.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001743/0.01137, allocations: 111 kB / 300.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.889e-05/0.01139, allocations: 58.64 kB / 300.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.01148, allocations: 176.3 kB / 300.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01149, allocations: 32.03 kB / 300.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.01153, allocations: 124.9 kB / 300.7 MB, free: 7.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.01156, allocations: 50.89 kB / 300.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.01161, allocations: 39.75 kB / 300.8 MB, free: 7.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.01165, allocations: 333.1 kB / 301.1 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.01169, allocations: 43.69 kB / 301.1 MB, free: 7.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.01174, allocations: 64.08 kB / 301.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.01184, allocations: 105.9 kB / 301.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01184, allocations: 0 / 301.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001564/0.012, allocations: 155.8 kB / 301.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.01203, allocations: 32.94 kB / 301.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01204, allocations: 5.125 kB / 301.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01205, allocations: 1.219 kB / 301.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.01231, allocations: 70.08 kB / 301.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.01231, allocations: 5.719 kB / 301.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.0124, allocations: 23.97 kB / 301.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.01242, allocations: 5.547 kB / 301.6 MB, free: 6.824 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 6.124e-05/0.01248, allocations: 128.4 kB / 301.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.0125, allocations: 16.66 kB / 301.7 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.01265, allocations: 105.4 kB / 301.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01266, allocations: 1.375 kB / 301.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01266, allocations: 4 kB / 301.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01266, allocations: 2.5 kB / 301.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.01295, allocations: 300.5 kB / 302.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01295, allocations: 0 / 302.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.01314, allocations: 51.12 kB / 302.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.01315, allocations: 5.375 kB / 302.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01316, allocations: 6.922 kB / 302.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01316, allocations: 1.375 kB / 302.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01316, allocations: 0.5625 kB / 302.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.01335, allocations: 212.5 kB / 302.4 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.01337, allocations: 22.34 kB / 302.4 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.0134, allocations: 6.031 kB / 302.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.01348, allocations: 16.47 kB / 302.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.01353, allocations: 11.67 kB / 302.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.01354, allocations: 8.234 kB / 302.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.01359, allocations: 53.92 kB / 302.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01359, allocations: 0 / 302.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.01376, allocations: 49.78 kB / 302.6 MB, free: 6.215 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 7.179e-05/0.01384, allocations: 81.12 kB / 302.7 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01399, allocations: 157.1 kB / 302.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.014, allocations: 9.781 kB / 302.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.01406, allocations: 37.14 kB / 302.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.01428, allocations: 63.97 kB / 302.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01532, allocations: 438.9 kB / 303.3 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.01536, allocations: 72.16 kB / 303.4 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.8e-05/0.01546, allocations: 26.33 kB / 303.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.0156, allocations: 99.73 kB / 303.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0156, allocations: 0 / 303.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of Templates: time 0.004755/0.02035, allocations: 2.865 MB / 306.4 MB, free: 4.375 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.740493702236563]