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.001822/0.001822, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.002217/0.002217, allocations: 215.6 kB / 22.25 MB, free: 3.57 MB / 13.93 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.783/1.783, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] 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.1156/0.1156, allocations: 17.17 MB / 329.6 MB, free: 0.8008 MB / 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003707/0.003707, allocations: 75.83 kB / 460.7 MB, free: 26.39 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1084, allocations: 57.77 MB / 0.5063 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.004699/0.1131, allocations: 2.621 MB / 0.5089 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1146, allocations: 0.6467 MB / 0.5095 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1148, allocations: 11.88 kB / 0.5095 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1149, allocations: 35.64 kB / 0.5095 GB, free: 13.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1152, allocations: 91.3 kB / 0.5096 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1154, allocations: 75.78 kB / 0.5097 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.1158, allocations: 306.5 kB / 0.51 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.116, allocations: 36.56 kB / 0.51 GB, free: 12.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1161, allocations: 115.6 kB / 0.5101 GB, free: 12.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1164, allocations: 103.5 kB / 0.5102 GB, free: 12.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.1164, allocations: 20 kB / 0.5103 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.1165, allocations: 20 kB / 0.5103 GB, free: 12.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1165, allocations: 39.84 kB / 0.5103 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1167, allocations: 95.64 kB / 0.5104 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.117, allocations: 235 kB / 0.5106 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.117, allocations: 0 / 0.5106 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.117, allocations: 3.938 kB / 0.5106 GB, free: 12.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.117, allocations: 0 / 0.5106 GB, free: 12.07 MB / 378.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.001041/0.118, allocations: 479.2 kB / 0.5111 GB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1181, allocations: 12.03 kB / 0.5111 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.1181, allocations: 28.8 kB / 0.5111 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1185, allocations: 187 kB / 0.5113 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1186, allocations: 68.23 kB / 0.5114 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.1187, allocations: 12.38 kB / 0.5114 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.1192, allocations: 235.2 kB / 0.5116 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1192, allocations: 0 / 0.5116 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1192, allocations: 8 kB / 0.5116 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1192, allocations: 4 kB / 0.5116 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.1197, allocations: 152.1 kB / 0.5118 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1207, allocations: 463.8 kB / 0.5122 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.1213, allocations: 182.4 kB / 0.5124 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.1216, allocations: 84.8 kB / 0.5125 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.1217, allocations: 4 kB / 0.5125 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.1221, allocations: 186.7 kB / 0.5126 GB, free: 9.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.1221, allocations: 0 / 0.5126 GB, free: 9.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007978/0.1229, allocations: 249.4 kB / 0.5129 GB, free: 9.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1229, allocations: 55.41 kB / 0.5129 GB, free: 9.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1231, allocations: 178.3 kB / 0.5131 GB, free: 9.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.1231, allocations: 29.7 kB / 0.5131 GB, free: 9.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1233, allocations: 140.3 kB / 0.5133 GB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.1233, allocations: 47.58 kB / 0.5133 GB, free: 9.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.539e-05/0.1234, allocations: 45.66 kB / 0.5133 GB, free: 9.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00043/0.1239, allocations: 326.8 kB / 0.5137 GB, free: 8.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.1241, allocations: 93.64 kB / 0.5138 GB, free: 8.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.1244, allocations: 123.3 kB / 0.5139 GB, free: 8.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.1249, allocations: 177.7 kB / 0.514 GB, free: 8.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1249, allocations: 3.938 kB / 0.514 GB, free: 8.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006536/0.1255, allocations: 287.4 kB / 0.5143 GB, free: 8.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.1256, allocations: 29.7 kB / 0.5143 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1256, allocations: 3.938 kB / 0.5143 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1256, allocations: 7.984 kB / 0.5144 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.126, allocations: 55.94 kB / 0.5144 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.126, allocations: 4.062 kB / 0.5144 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.1262, allocations: 31.91 kB / 0.5144 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1262, allocations: 7.984 kB / 0.5145 GB, free: 7.887 MB / 378.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 0.0001502/0.1264, allocations: 133.7 kB / 0.5146 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.1264, allocations: 15.91 kB / 0.5146 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005941/0.127, allocations: 206.9 kB / 0.5148 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.127, allocations: 8 kB / 0.5148 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.127, allocations: 3.984 kB / 0.5148 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.127, allocations: 0 / 0.5148 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009407/0.128, allocations: 472.8 kB / 0.5153 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.128, allocations: 0 / 0.5153 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.1283, allocations: 51.89 kB / 0.5153 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1283, allocations: 0 / 0.5153 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1284, allocations: 11.98 kB / 0.5153 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1284, allocations: 4 kB / 0.5153 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1284, allocations: 0 / 0.5153 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.1292, allocations: 378.1 kB / 0.5157 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.1293, allocations: 19.94 kB / 0.5157 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1293, allocations: 0 / 0.5157 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1295, allocations: 19.98 kB / 0.5157 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.1296, allocations: 15.91 kB / 0.5157 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1296, allocations: 11.98 kB / 0.5157 GB, free: 6.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1297, allocations: 123.2 kB / 0.5159 GB, free: 6.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1297, allocations: 0 / 0.5159 GB, free: 6.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.13, allocations: 59.95 kB / 0.5159 GB, free: 6.32 MB / 378.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 0.0001264/0.1302, allocations: 111.1 kB / 0.516 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.1308, allocations: 236.9 kB / 0.5162 GB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1308, allocations: 0 / 0.5162 GB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.1311, allocations: 87.94 kB / 0.5163 GB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1315, allocations: 39.91 kB / 0.5164 GB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1326, allocations: 0.4969 MB / 0.5169 GB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.1328, allocations: 120.9 kB / 0.517 GB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.1329, allocations: 21.42 kB / 0.517 GB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.133, allocations: 23.42 kB / 0.517 GB, free: 5.113 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.133, allocations: 8 kB / 0.517 GB, free: 5.105 MB / 378.7 MB Notification: Performance of Templates: time 0.007442/0.1404, allocations: 2.926 MB / 0.5199 GB, free: 2.242 MB / 378.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: 5.633550534024835]