Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.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.001017/0.001017, allocations: 73.97 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.001153/0.001153, allocations: 173 kB / 24.06 MB, free: 448 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 0.9584/0.9584, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.06042/0.06042, allocations: 12.76 MB / 273.8 MB, free: 136 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.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 347.1 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.649e-05, allocations: 4.703 kB / 347.1 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.003264/0.0033, allocations: 2.676 MB / 349.8 MB, free: 284 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.004304, allocations: 0.6506 MB / 350.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.00441, allocations: 7.938 kB / 350.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.004535, allocations: 43.47 kB / 350.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.004721, allocations: 87.3 kB / 350.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.004875, allocations: 71.78 kB / 350.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.005123, allocations: 286.5 kB / 350.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005237, allocations: 33.8 kB / 351 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.005472, allocations: 155.6 kB / 351.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.005603, allocations: 87.8 kB / 351.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.005627, allocations: 15.94 kB / 351.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.005649, allocations: 16 kB / 351.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.00568, allocations: 39.89 kB / 351.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.005738, allocations: 75.83 kB / 351.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.005927, allocations: 163.4 kB / 351.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005929, allocations: 3.938 kB / 351.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00593, allocations: 4 kB / 351.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.005934, allocations: 0 / 351.5 MB, free: 14.55 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005084/0.006442, allocations: 0.5153 MB / 352 MB, free: 14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.006474, allocations: 15.98 kB / 352 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.006525, allocations: 36.8 kB / 352.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.006718, allocations: 196.9 kB / 352.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.006797, allocations: 115.4 kB / 352.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.006821, allocations: 16.38 kB / 352.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.007008, allocations: 162 kB / 352.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.007017, allocations: 192 / 352.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.00703, allocations: 7.938 kB / 352.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.007037, allocations: 4 kB / 352.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.007135, allocations: 67.59 kB / 352.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.007628, allocations: 447.8 kB / 353.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.007871, allocations: 114.9 kB / 353.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.007911, allocations: 35.67 kB / 353.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.007927, allocations: 4 kB / 353.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.008042, allocations: 118.6 kB / 353.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.008043, allocations: 0 / 353.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002193/0.008263, allocations: 152.7 kB / 353.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.008288, allocations: 51.41 kB / 353.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.008391, allocations: 215.5 kB / 353.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.008409, allocations: 29.7 kB / 353.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.008478, allocations: 183 kB / 353.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.008509, allocations: 51.58 kB / 354 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.008554, allocations: 43.34 kB / 354 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.008668, allocations: 0.5 MB / 354.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.0087, allocations: 19.89 kB / 354.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.008748, allocations: 58.72 kB / 354.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.008844, allocations: 98.89 kB / 354.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.008847, allocations: 4 kB / 354.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001414/0.008989, allocations: 133.1 kB / 354.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.009002, allocations: 8 kB / 354.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.009006, allocations: 0 / 354.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.009015, allocations: 0 / 354.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.009242, allocations: 72.02 kB / 354.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.009245, allocations: 0 / 354.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.009302, allocations: 19.88 kB / 354.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.009311, allocations: 4 kB / 354.9 MB, free: 10.84 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.pulses.HP,$PRE.pulses.T0,pulses.b,$whenCondition1,pulses.TD2,pulses.HP,pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001265/0.009437, allocations: 184.5 kB / 355.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.009459, allocations: 19.84 kB / 355.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.009617, allocations: 127 kB / 355.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009619, allocations: 0 / 355.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.009622, allocations: 7.922 kB / 355.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.009626, allocations: 0 / 355.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.009952, allocations: 402.1 kB / 355.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.009956, allocations: 7.938 kB / 355.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.01015, allocations: 55.89 kB / 355.7 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.01015, allocations: 4 kB / 355.7 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01016, allocations: 8 kB / 355.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01016, allocations: 0 / 355.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01017, allocations: 0 / 355.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.01038, allocations: 303 kB / 356 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.0104, allocations: 19.83 kB / 356.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.01042, allocations: 4 kB / 356.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.01048, allocations: 8 kB / 356.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.01052, allocations: 15.97 kB / 356.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01054, allocations: 4 kB / 356.1 MB, free: 9.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.309e-05/0.0106, allocations: 147.8 kB / 356.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0106, allocations: 0 / 356.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.01086, allocations: 59.92 kB / 356.3 MB, free: 9.426 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.volume) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.995e-05/0.01094, allocations: 103.2 kB / 356.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.01107, allocations: 75.58 kB / 356.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01107, allocations: 0 / 356.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.01112, allocations: 51.58 kB / 356.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01135, allocations: 32.06 kB / 356.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.0123, allocations: 448.6 kB / 357 MB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.01237, allocations: 112.3 kB / 357.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.01248, allocations: 110.2 kB / 357.2 MB, free: 8.441 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01248, allocations: 0 / 357.2 MB, free: 8.441 MB / 330.7 MB Notification: Performance of Templates: time 0.002525/0.015, allocations: 2.375 MB / 359.6 MB, free: 6.078 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.740773790050298]