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.0007202/0.0007202, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008325/0.0008325, allocations: 169 kB / 23.02 MB, free: 1.547 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.0572/0.0572, allocations: 12.77 MB / 272.7 MB, free: 248 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.433e-06/1.433e-06, allocations: 0 / 346.7 MB, free: 1.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.199e-05, allocations: 2.312 kB / 346.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002265/0.002277, allocations: 2.835 MB / 349.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.003072, allocations: 0.6583 MB / 350.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.003171, allocations: 7.938 kB / 350.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.003299, allocations: 39.58 kB / 350.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.003495, allocations: 95.23 kB / 350.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.003635, allocations: 71.78 kB / 350.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.003899, allocations: 310.4 kB / 350.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.004022, allocations: 36.56 kB / 350.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.004184, allocations: 167.6 kB / 350.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.00433, allocations: 95.72 kB / 351 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.004361, allocations: 16 kB / 351 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.886e-05/0.00439, allocations: 20 kB / 351 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.004429, allocations: 39.83 kB / 351.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.004513, allocations: 83.83 kB / 351.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.004732, allocations: 187.2 kB / 351.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004735, allocations: 0 / 351.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004735, allocations: 0 / 351.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.00474, allocations: 0 / 351.3 MB, free: 12.58 MB / 282.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.0006362/0.005376, allocations: 0.5562 MB / 351.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.005412, allocations: 11.98 kB / 351.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.005475, allocations: 36.8 kB / 351.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.005691, allocations: 205 kB / 352.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.005758, allocations: 64.25 kB / 352.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.005788, allocations: 20.38 kB / 352.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.006027, allocations: 200.4 kB / 352.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.006037, allocations: 192 / 352.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.006053, allocations: 11.94 kB / 352.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.006061, allocations: 4 kB / 352.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.006179, allocations: 68.16 kB / 352.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.006702, allocations: 491.2 kB / 353 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.006906, allocations: 122.8 kB / 353.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.007008, allocations: 55.66 kB / 353.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.007028, allocations: 4 kB / 353.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.007189, allocations: 160.2 kB / 353.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.00719, allocations: 0 / 353.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002707/0.007461, allocations: 148.8 kB / 353.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.007496, allocations: 59.39 kB / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.007625, allocations: 235.2 kB / 353.7 MB, free: 9.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.007643, allocations: 29.7 kB / 353.8 MB, free: 9.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.007723, allocations: 183.1 kB / 353.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.007758, allocations: 55.53 kB / 354 MB, free: 9.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.007811, allocations: 47.36 kB / 354 MB, free: 9.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.007941, allocations: 0.4923 MB / 354.5 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.008004, allocations: 57.61 kB / 354.6 MB, free: 9.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.008084, allocations: 81.05 kB / 354.7 MB, free: 8.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.0082, allocations: 107.8 kB / 354.8 MB, free: 8.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008202, allocations: 0 / 354.8 MB, free: 8.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002097/0.008412, allocations: 212.8 kB / 355 MB, free: 8.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.008438, allocations: 33.7 kB / 355 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008443, allocations: 4.031 kB / 355 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008456, allocations: 0 / 355 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.008669, allocations: 55.89 kB / 355.1 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.008674, allocations: 0 / 355.1 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.008748, allocations: 27.88 kB / 355.1 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.008759, allocations: 4 kB / 355.1 MB, free: 8.5 MB / 282.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 9.111e-05/0.00885, allocations: 168.6 kB / 355.3 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.008876, allocations: 27.83 kB / 355.3 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.009078, allocations: 135 kB / 355.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.00908, allocations: 0 / 355.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.009083, allocations: 0 / 355.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009087, allocations: 0 / 355.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.009469, allocations: 457.1 kB / 355.9 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009471, allocations: 0 / 355.9 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.009648, allocations: 55.95 kB / 355.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.009652, allocations: 0 / 355.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.009666, allocations: 0 / 355.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009667, allocations: 0 / 355.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.00967, allocations: 4 kB / 355.9 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.009967, allocations: 315.6 kB / 356.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.009985, allocations: 15.86 kB / 356.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.01001, allocations: 8 kB / 356.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.01009, allocations: 16.02 kB / 356.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.01015, allocations: 15.97 kB / 356.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01016, allocations: 4 kB / 356.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.01025, allocations: 171 kB / 356.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01025, allocations: 0 / 356.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.01043, allocations: 51.94 kB / 356.5 MB, free: 7.008 MB / 282.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 8.777e-05/0.01052, allocations: 91.25 kB / 356.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.01077, allocations: 187.7 kB / 356.8 MB, free: 6.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01077, allocations: 3.938 kB / 356.8 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.01085, allocations: 51.59 kB / 356.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.01112, allocations: 51.86 kB / 356.9 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.01231, allocations: 458.9 kB / 357.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.472e-05/0.01236, allocations: 75.98 kB / 357.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.01243, allocations: 25.47 kB / 357.4 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.01249, allocations: 24.5 kB / 357.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01249, allocations: 0 / 357.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of Templates: time 0.004262/0.01675, allocations: 2.808 MB / 360.3 MB, free: 3.227 MB / 282.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.672811176162213]