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.001325/0.001325, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001559/0.001559, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9373/0.9373, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.0539/0.0539, allocations: 12.75 MB / 273 MB, free: 124 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 9.92e-07/9.92e-07, allocations: 0 / 347.1 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/1.095e-05, allocations: 6.25 kB / 347.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002363/0.002374, allocations: 2.804 MB / 349.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.00312, allocations: 0.6622 MB / 350.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.003209, allocations: 7.938 kB / 350.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.003316, allocations: 43.58 kB / 350.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.003479, allocations: 91.19 kB / 350.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.003594, allocations: 71.77 kB / 350.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.003811, allocations: 314.3 kB / 351.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.003904, allocations: 32.58 kB / 351.2 MB, free: 14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.00405, allocations: 167.7 kB / 351.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.004173, allocations: 91.77 kB / 351.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.004199, allocations: 16 kB / 351.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.004223, allocations: 16 kB / 351.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.00426, allocations: 47.83 kB / 351.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.004322, allocations: 83.77 kB / 351.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.004499, allocations: 179.3 kB / 351.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.0045, allocations: 0 / 351.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004501, allocations: 4 kB / 351.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.004504, allocations: 0 / 351.7 MB, free: 13.41 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005159/0.00502, allocations: 0.56 MB / 352.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.005052, allocations: 15.98 kB / 352.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.005099, allocations: 32.8 kB / 352.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.005272, allocations: 205 kB / 352.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.005318, allocations: 68.25 kB / 352.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.00534, allocations: 12.38 kB / 352.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.005531, allocations: 192.4 kB / 352.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.005541, allocations: 4.172 kB / 352.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.005553, allocations: 7.938 kB / 352.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005559, allocations: 7.984 kB / 352.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.005642, allocations: 56.11 kB / 352.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.006108, allocations: 459.8 kB / 353.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.00626, allocations: 114.9 kB / 353.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.006325, allocations: 43.66 kB / 353.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.006342, allocations: 7.984 kB / 353.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.006463, allocations: 148.3 kB / 353.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.006465, allocations: 0 / 353.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001933/0.006658, allocations: 140.3 kB / 353.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.006682, allocations: 59.41 kB / 353.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.006784, allocations: 235.1 kB / 354.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.0068, allocations: 29.7 kB / 354.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.006864, allocations: 183.1 kB / 354.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.006895, allocations: 51.52 kB / 354.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.006943, allocations: 47.34 kB / 354.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.007051, allocations: 0.4962 MB / 354.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.007094, allocations: 45.67 kB / 354.9 MB, free: 9.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.007149, allocations: 84.98 kB / 355 MB, free: 9.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.007235, allocations: 100.1 kB / 355.1 MB, free: 9.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.007237, allocations: 4 kB / 355.1 MB, free: 9.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000168/0.007405, allocations: 196.8 kB / 355.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.007426, allocations: 33.7 kB / 355.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.00743, allocations: 0 / 355.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.007439, allocations: 0 / 355.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.007624, allocations: 59.89 kB / 355.4 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.007626, allocations: 32 / 355.4 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.007698, allocations: 27.88 kB / 355.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.007708, allocations: 8 kB / 355.4 MB, free: 9.434 MB / 330.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 7.523e-05/0.007784, allocations: 164.5 kB / 355.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.007806, allocations: 27.83 kB / 355.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.007955, allocations: 127.1 kB / 355.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007957, allocations: 4 kB / 355.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.007958, allocations: 0 / 355.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007961, allocations: 0 / 355.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.008259, allocations: 417.7 kB / 356.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.00826, allocations: 0 / 356.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.008411, allocations: 43.97 kB / 356.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.008412, allocations: 0 / 356.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.008423, allocations: 11.92 kB / 356.2 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.008423, allocations: 0 / 356.2 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008424, allocations: 0 / 356.2 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.008635, allocations: 314.5 kB / 356.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.008653, allocations: 15.89 kB / 356.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.00867, allocations: 4 kB / 356.5 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.00875, allocations: 11.98 kB / 356.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.008785, allocations: 19.97 kB / 356.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.008791, allocations: 0 / 356.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.417e-05/0.008846, allocations: 163.1 kB / 356.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008846, allocations: 0 / 356.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000173/0.009019, allocations: 55.89 kB / 356.8 MB, free: 8.016 MB / 330.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.322e-05/0.009082, allocations: 95.28 kB / 356.9 MB, free: 7.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.009228, allocations: 168.7 kB / 357 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.009229, allocations: 0 / 357 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.009333, allocations: 47.59 kB / 357.1 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.009578, allocations: 55.91 kB / 357.1 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/0.01052, allocations: 458.6 kB / 357.6 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.01056, allocations: 71.98 kB / 357.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.556e-05/0.01062, allocations: 29.47 kB / 357.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01075, allocations: 122.2 kB / 357.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01075, allocations: 0 / 357.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of Templates: time 0.004038/0.01478, allocations: 2.886 MB / 360.7 MB, free: 4.094 MB / 330.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.7294478937983513]