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.001127/0.001127, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001365/0.001365, allocations: 169 kB / 24.06 MB, free: 456 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 1.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.07037/0.07037, allocations: 12.76 MB / 273.8 MB, free: 120 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.082e-06/1.082e-06, allocations: 0 / 347.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.302e-05, allocations: 6.312 kB / 347.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002362/0.002375, allocations: 2.805 MB / 350.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.003221, allocations: 0.6699 MB / 351.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.003314, allocations: 7.875 kB / 351.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.00342, allocations: 31.7 kB / 351.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.003596, allocations: 95.19 kB / 351.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.003729, allocations: 75.77 kB / 351.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.003966, allocations: 318.3 kB / 351.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.004064, allocations: 32.58 kB / 351.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.004207, allocations: 163.6 kB / 352.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.00433, allocations: 95.7 kB / 352.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.004356, allocations: 16 kB / 352.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.00438, allocations: 20 kB / 352.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.004416, allocations: 43.83 kB / 352.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.004484, allocations: 83.83 kB / 352.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.004676, allocations: 175.4 kB / 352.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004677, allocations: 0 / 352.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004678, allocations: 0 / 352.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004681, allocations: 0 / 352.5 MB, free: 12.32 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.0005385/0.00522, allocations: 0.5601 MB / 353.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.005248, allocations: 11.98 kB / 353.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.0053, allocations: 36.8 kB / 353.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.005494, allocations: 209 kB / 353.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.005545, allocations: 64.25 kB / 353.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.005569, allocations: 12.38 kB / 353.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.005778, allocations: 200.4 kB / 353.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.005788, allocations: 4.125 kB / 353.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.005803, allocations: 15.92 kB / 353.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.005809, allocations: 4 kB / 353.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.728e-05/0.005897, allocations: 52.17 kB / 353.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.006386, allocations: 443.9 kB / 354.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.006552, allocations: 114.9 kB / 354.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.006626, allocations: 51.62 kB / 354.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.006642, allocations: 4 kB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.006771, allocations: 152.3 kB / 354.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.006773, allocations: 0 / 354.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002111/0.006984, allocations: 144.4 kB / 354.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.007014, allocations: 59.39 kB / 354.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.007128, allocations: 235.1 kB / 354.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.007145, allocations: 25.7 kB / 354.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.007216, allocations: 179.1 kB / 355.1 MB, free: 9.574 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.007251, allocations: 59.52 kB / 355.1 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.007302, allocations: 43.34 kB / 355.2 MB, free: 9.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007413, allocations: 0.4962 MB / 355.7 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.007459, allocations: 53.67 kB / 355.7 MB, free: 8.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.007515, allocations: 74.91 kB / 355.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.007611, allocations: 107.7 kB / 355.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007613, allocations: 0 / 355.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001728/0.007785, allocations: 196.8 kB / 356.1 MB, free: 8.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.007808, allocations: 36.19 kB / 356.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007812, allocations: 4 kB / 356.1 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.00782, allocations: 0 / 356.1 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.008019, allocations: 55.98 kB / 356.2 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.008022, allocations: 0 / 356.2 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.0081, allocations: 27.88 kB / 356.2 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.00811, allocations: 4 kB / 356.2 MB, free: 8.355 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 8.156e-05/0.008191, allocations: 164.5 kB / 356.4 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.008215, allocations: 27.78 kB / 356.4 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.008379, allocations: 135.1 kB / 356.5 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008381, allocations: 0 / 356.5 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.008382, allocations: 0 / 356.5 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.008386, allocations: 4 kB / 356.5 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.008712, allocations: 413.7 kB / 356.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008713, allocations: 0 / 356.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.008878, allocations: 47.89 kB / 357 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.00888, allocations: 4 kB / 357 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.008891, allocations: 7.984 kB / 357 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008893, allocations: 4 kB / 357 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008894, allocations: 0 / 357 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.009107, allocations: 290.9 kB / 357.3 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.009126, allocations: 23.86 kB / 357.3 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.009144, allocations: 0 / 357.3 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.009228, allocations: 15.98 kB / 357.3 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.009263, allocations: 11.97 kB / 357.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.009273, allocations: 16.02 kB / 357.4 MB, free: 7.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.009329, allocations: 159 kB / 357.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00933, allocations: 0 / 357.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.009514, allocations: 51.94 kB / 357.6 MB, free: 6.941 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 6.935e-05/0.009583, allocations: 103.2 kB / 357.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.009749, allocations: 160.7 kB / 357.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.00975, allocations: 0 / 357.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.009805, allocations: 47.59 kB / 357.9 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01004, allocations: 67.84 kB / 357.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.01096, allocations: 450.8 kB / 358.4 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.011, allocations: 79.92 kB / 358.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.71e-05/0.01107, allocations: 21.48 kB / 358.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.0112, allocations: 122.2 kB / 358.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of SimCode: time 5.82e-07/0.0112, allocations: 0 / 358.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of Templates: time 0.004073/0.01527, allocations: 2.928 MB / 361.5 MB, free: 2.957 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.8082760348916054]