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.001234/0.001234, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001004/0.001004, allocations: 174.3 kB / 23.21 MB, free: 1.328 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.9516/0.9516, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.06264/0.06264, allocations: 12.74 MB / 272.7 MB, free: 0.4961 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 403.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.854e-05, allocations: 2.281 kB / 403.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.003802/0.003831, allocations: 2.631 MB / 405.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.00554, allocations: 0.6543 MB / 406.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.005717, allocations: 3.938 kB / 406.4 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.005873, allocations: 39.59 kB / 406.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.006216, allocations: 103.2 kB / 406.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.006438, allocations: 63.78 kB / 406.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.006774, allocations: 318.3 kB / 406.9 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.006912, allocations: 40.56 kB / 406.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.007097, allocations: 159.7 kB / 407.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.007247, allocations: 91.78 kB / 407.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.007279, allocations: 19.94 kB / 407.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.007308, allocations: 16 kB / 407.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.00735, allocations: 47.83 kB / 407.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.007438, allocations: 79.77 kB / 407.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.007813, allocations: 239.3 kB / 407.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.007818, allocations: 0 / 407.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.00782, allocations: 0 / 407.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.007827, allocations: 0 / 407.5 MB, free: 4.398 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.000959/0.008786, allocations: 485.8 kB / 408 MB, free: 3.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.008845, allocations: 11.98 kB / 408 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.008934, allocations: 24.8 kB / 408.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.009294, allocations: 190.2 kB / 408.2 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.009401, allocations: 64.25 kB / 408.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.009436, allocations: 20.38 kB / 408.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.009755, allocations: 223.8 kB / 408.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.009767, allocations: 192 / 408.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.009786, allocations: 11.94 kB / 408.6 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.009793, allocations: 4 kB / 408.6 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.01006, allocations: 160 kB / 408.7 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.01093, allocations: 459.8 kB / 409.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.01129, allocations: 178.2 kB / 409.3 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.01146, allocations: 93.05 kB / 409.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.01148, allocations: 4 kB / 409.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.01172, allocations: 198.6 kB / 409.6 MB, free: 2.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.01172, allocations: 3.938 kB / 409.6 MB, free: 2.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004618/0.01218, allocations: 253.2 kB / 409.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.01222, allocations: 55.41 kB / 409.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.01234, allocations: 183.6 kB / 410.1 MB, free: 1.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.01236, allocations: 25.7 kB / 410.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.01242, allocations: 140.3 kB / 410.3 MB, free: 1.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.01246, allocations: 51.58 kB / 410.3 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.01251, allocations: 41.7 kB / 410.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.01259, allocations: 330.8 kB / 410.7 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.01273, allocations: 93.59 kB / 410.8 MB, free: 0.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.01286, allocations: 123.3 kB / 410.9 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.0131, allocations: 171.3 kB / 411.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01311, allocations: 0 / 411.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000342/0.01345, allocations: 291.5 kB / 411.3 MB, free: 352 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.01348, allocations: 29.7 kB / 411.4 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01348, allocations: 0 / 411.4 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01349, allocations: 4 kB / 411.4 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.01371, allocations: 51.94 kB / 411.4 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01372, allocations: 11.97 kB / 411.4 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.01381, allocations: 27.88 kB / 411.5 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01383, allocations: 7.984 kB / 411.5 MB, free: 212 kB / 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 8.849e-05/0.01391, allocations: 125.8 kB / 411.6 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.01394, allocations: 23.83 kB / 411.6 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1524/0.1663, allocations: 204.4 kB / 411.8 MB, free: 21.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1663, allocations: 2.094 kB / 411.8 MB, free: 21.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1663, allocations: 0.5625 kB / 411.8 MB, free: 21.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1663, allocations: 1.609 kB / 411.8 MB, free: 21.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1669, allocations: 467.8 kB / 412.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1669, allocations: 1.125 kB / 412.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1671, allocations: 49.84 kB / 412.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1672, allocations: 5.812 kB / 412.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1672, allocations: 7.5 kB / 412.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1672, allocations: 1.125 kB / 412.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1672, allocations: 0.6562 kB / 412.4 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.1676, allocations: 374.1 kB / 412.7 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.1677, allocations: 24.3 kB / 412.7 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1677, allocations: 5.312 kB / 412.7 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1678, allocations: 19.09 kB / 412.8 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1679, allocations: 12.81 kB / 412.8 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1679, allocations: 9.781 kB / 412.8 MB, free: 21.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.95e-05/0.1679, allocations: 133.9 kB / 412.9 MB, free: 21.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1679, allocations: 0 / 412.9 MB, free: 21.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.1682, allocations: 52.17 kB / 413 MB, free: 21.17 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 8.681e-05/0.1682, allocations: 108.3 kB / 413.1 MB, free: 21.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.1686, allocations: 241.9 kB / 413.3 MB, free: 20.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1686, allocations: 0 / 413.3 MB, free: 20.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.1687, allocations: 77.5 kB / 413.4 MB, free: 20.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.169, allocations: 56.98 kB / 413.4 MB, free: 20.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.1697, allocations: 465.4 kB / 413.9 MB, free: 20.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.1698, allocations: 116.6 kB / 414 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.1698, allocations: 23.27 kB / 414 MB, free: 20.58 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1698, allocations: 4 kB / 414 MB, free: 20.57 MB / 330.7 MB Notification: Performance of Templates: time 0.003795/0.1736, allocations: 2.652 MB / 416.7 MB, free: 20.36 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 > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.773599090985954]