Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.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.0008908/0.0008908, allocations: 77.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.001474/0.001474, 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 0.9617/0.9617, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.06204/0.06204, allocations: 12.76 MB / 273.8 MB, free: 116 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_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 347.9 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.406e-05, allocations: 2.312 kB / 347.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.002519/0.002533, allocations: 2.836 MB / 350.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.00337, allocations: 0.6815 MB / 351.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003471, allocations: 11.94 kB / 351.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.00359, allocations: 39.64 kB / 351.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.003772, allocations: 99.09 kB / 351.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.00392, allocations: 75.78 kB / 351.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.00417, allocations: 338.2 kB / 352 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004293, allocations: 56.55 kB / 352 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.004519, allocations: 179.6 kB / 352.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.004663, allocations: 95.72 kB / 352.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.004688, allocations: 19.94 kB / 352.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.436e-05/0.004713, allocations: 20 kB / 352.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.004747, allocations: 47.83 kB / 352.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.004816, allocations: 87.83 kB / 352.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.005006, allocations: 183.4 kB / 352.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005007, allocations: 0 / 352.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005008, allocations: 0 / 352.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005013, allocations: 0 / 352.7 MB, free: 13.25 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005194/0.005532, allocations: 0.5539 MB / 353.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.005561, allocations: 11.98 kB / 353.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.005616, allocations: 48.69 kB / 353.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.005804, allocations: 212.2 kB / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.005875, allocations: 119.4 kB / 353.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.005901, allocations: 16.38 kB / 353.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.006088, allocations: 176.5 kB / 353.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006098, allocations: 192 / 353.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006112, allocations: 7.938 kB / 353.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.006117, allocations: 8 kB / 353.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.006225, allocations: 75.5 kB / 353.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.006736, allocations: 491.6 kB / 354.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.007002, allocations: 134.8 kB / 354.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.007091, allocations: 75.52 kB / 354.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.007105, allocations: 0 / 354.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.007222, allocations: 114.7 kB / 354.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.007223, allocations: 0 / 354.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002278/0.007451, allocations: 164.7 kB / 354.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.007476, allocations: 55.41 kB / 354.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.007577, allocations: 221.8 kB / 355.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.007593, allocations: 29.7 kB / 355.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.007664, allocations: 191 kB / 355.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.0077, allocations: 67.47 kB / 355.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.00775, allocations: 43.34 kB / 355.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007861, allocations: 0.504 MB / 355.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.007894, allocations: 23.84 kB / 356 MB, free: 9.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.007948, allocations: 66.64 kB / 356 MB, free: 9.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.008082, allocations: 122.9 kB / 356.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008085, allocations: 4 kB / 356.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001607/0.008245, allocations: 155.5 kB / 356.3 MB, free: 9.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.008256, allocations: 4 kB / 356.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.008259, allocations: 0 / 356.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.008267, allocations: 4 kB / 356.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.008521, allocations: 75.95 kB / 356.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.008524, allocations: 4 kB / 356.4 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.008592, allocations: 23.88 kB / 356.4 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.008602, allocations: 4 kB / 356.4 MB, free: 9.23 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 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 inertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" 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 (24): * Single equations (assignments): 24 * 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.0001199/0.008722, allocations: 184.4 kB / 356.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.008748, allocations: 31.8 kB / 356.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.008914, allocations: 139.3 kB / 356.8 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.008916, allocations: 4 kB / 356.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.008919, allocations: 3.984 kB / 356.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008922, allocations: 64 / 356.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.009287, allocations: 452.4 kB / 357.2 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009289, allocations: 0 / 357.2 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.009513, allocations: 63.95 kB / 357.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.009517, allocations: 4 kB / 357.3 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.009529, allocations: 7.984 kB / 357.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.00953, allocations: 0 / 357.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009531, allocations: 0 / 357.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.009765, allocations: 319.6 kB / 357.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.00978, allocations: 11.94 kB / 357.6 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.009798, allocations: 8 kB / 357.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.009874, allocations: 11.98 kB / 357.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.009907, allocations: 15.97 kB / 357.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.00992, allocations: 4 kB / 357.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.009975, allocations: 164.2 kB / 357.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009975, allocations: 0 / 357.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.01017, allocations: 67.83 kB / 357.9 MB, free: 7.703 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,inertia.q_in.q) * 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 (18): * Single equations (assignments): 15 * 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.671e-05/0.01024, allocations: 99.17 kB / 358 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01039, allocations: 102.3 kB / 358.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01039, allocations: 0 / 358.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.01045, allocations: 51.59 kB / 358.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.01068, allocations: 35.97 kB / 358.2 MB, free: 7.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.01177, allocations: 0.4943 MB / 358.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.01181, allocations: 75.98 kB / 358.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.01188, allocations: 25.47 kB / 358.7 MB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01198, allocations: 110.2 kB / 358.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01198, allocations: 0 / 358.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of Templates: time 0.003716/0.0157, allocations: 2.336 MB / 361.2 MB, free: 4.367 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7971959318965673]