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.001129/0.001129, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001977/0.003106, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001118/0.001118, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002384, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9292/0.9292, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08567/1.015, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.06022/0.06022, allocations: 12.75 MB / 256.9 MB, free: 2 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01031/0.07053, allocations: 4.835 MB / 261.7 MB, free: 13.16 MB / 266.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.353e-06/1.353e-06, allocations: 0 / 263 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.085e-05, allocations: 2.312 kB / 263 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.004222/0.004253, allocations: 2.871 MB / 265.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.005611, allocations: 0.6776 MB / 266.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.005742, allocations: 11.94 kB / 266.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.00585, allocations: 39.58 kB / 266.6 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.006028, allocations: 95.17 kB / 266.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.006194, allocations: 63.84 kB / 266.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.006504, allocations: 322.4 kB / 267.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.006621, allocations: 38.53 kB / 267.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.006849, allocations: 184.3 kB / 267.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.007009, allocations: 91.72 kB / 267.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.007041, allocations: 20 kB / 267.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-05/0.00707, allocations: 16 kB / 267.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.007109, allocations: 27.88 kB / 267.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.007181, allocations: 67.88 kB / 267.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.007711, allocations: 167.4 kB / 267.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.007723, allocations: 0 / 267.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007725, allocations: 0 / 267.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.007734, allocations: 4 kB / 267.7 MB, free: 7.188 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.0006404/0.008375, allocations: 493.5 kB / 268.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.008409, allocations: 8.031 kB / 268.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.008468, allocations: 24.92 kB / 268.2 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.008699, allocations: 186.2 kB / 268.4 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.008762, allocations: 72.23 kB / 268.4 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.008794, allocations: 16.38 kB / 268.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.009008, allocations: 195.9 kB / 268.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.009018, allocations: 0 / 268.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.009031, allocations: 4 kB / 268.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.009036, allocations: 4 kB / 268.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.672e-05/0.009123, allocations: 56.06 kB / 268.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.009623, allocations: 319.8 kB / 269 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.009812, allocations: 101.5 kB / 269.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.009881, allocations: 48.8 kB / 269.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.009902, allocations: 4 kB / 269.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.01005, allocations: 154.2 kB / 269.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.01006, allocations: 0 / 269.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001845/0.01024, allocations: 101.6 kB / 269.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.01027, allocations: 51.41 kB / 269.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.01037, allocations: 183.8 kB / 269.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.01039, allocations: 37.64 kB / 269.7 MB, free: 5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.01044, allocations: 124.3 kB / 269.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.01048, allocations: 51.58 kB / 269.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.01053, allocations: 37.69 kB / 269.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.01061, allocations: 330.8 kB / 270.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.01066, allocations: 53.62 kB / 270.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.01071, allocations: 70.38 kB / 270.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.948e-05/0.0108, allocations: 95.27 kB / 270.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.0108, allocations: 3.938 kB / 270.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000137/0.01094, allocations: 164.1 kB / 270.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.01098, allocations: 33.69 kB / 270.6 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01098, allocations: 4 kB / 270.6 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.011, allocations: 0 / 270.6 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.01125, allocations: 71.88 kB / 270.7 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.01125, allocations: 0 / 270.7 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.01133, allocations: 23.97 kB / 270.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01134, allocations: 8 kB / 270.7 MB, free: 3.883 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 7.845e-05/0.01142, allocations: 125.8 kB / 270.9 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.01144, allocations: 11.98 kB / 270.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.01159, allocations: 119 kB / 271 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.0116, allocations: 4 kB / 271 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.0116, allocations: 0 / 271 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0116, allocations: 0 / 271 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.0119, allocations: 294.5 kB / 271.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.0119, allocations: 4 kB / 271.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.01209, allocations: 55.94 kB / 271.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.01211, allocations: 27.81 kB / 271.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01211, allocations: 0 / 271.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01213, allocations: 0 / 271.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01213, allocations: 4 kB / 271.4 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.01213, allocations: 0 / 271.4 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.01234, allocations: 223 kB / 271.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.01236, allocations: 3.984 kB / 271.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.01244, allocations: 15.98 kB / 271.6 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.01249, allocations: 11.98 kB / 271.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.0125, allocations: 7.984 kB / 271.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.01254, allocations: 45.98 kB / 271.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01254, allocations: 0 / 271.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.01272, allocations: 55.97 kB / 271.7 MB, free: 2.84 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 0.0001148/0.01283, allocations: 88.3 kB / 271.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.01304, allocations: 161.8 kB / 272 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.01305, allocations: 4 kB / 272 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.01313, allocations: 52.75 kB / 272 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.01351, allocations: 443.9 kB / 272.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.01814, allocations: 397.1 kB / 272.8 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.01818, allocations: 75.84 kB / 272.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.01828, allocations: 29.41 kB / 272.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.01842, allocations: 103.3 kB / 273 MB, free: 1.344 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01842, allocations: 0 / 273 MB, free: 1.344 MB / 266.7 MB Notification: Performance of Templates: time 0.1201/0.1385, allocations: 3 MB / 276 MB, free: 8.742 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 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7324895849451423]