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.001418/0.001418, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001584/0.001584, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9787/0.9787, allocations: 177.1 MB / 203.4 MB, free: 5.586 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.05918/0.05918, allocations: 12.76 MB / 272.7 MB, free: 288 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.623e-06/1.623e-06, allocations: 0 / 346.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.546e-05, allocations: 4.844 kB / 346.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.002589/0.002614, allocations: 2.858 MB / 349.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003675, allocations: 0.6894 MB / 350.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.003797, allocations: 7.938 kB / 350.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.003935, allocations: 39.64 kB / 350.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.004164, allocations: 99.11 kB / 350.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.004354, allocations: 79.75 kB / 350.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.004652, allocations: 334.2 kB / 350.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.004792, allocations: 48.56 kB / 350.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.005095, allocations: 183.6 kB / 351 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.005266, allocations: 95.7 kB / 351.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.005295, allocations: 23.94 kB / 351.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.743e-05/0.005323, allocations: 20 kB / 351.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.005358, allocations: 47.83 kB / 351.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.005434, allocations: 87.83 kB / 351.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.005663, allocations: 183.4 kB / 351.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.005667, allocations: 0 / 351.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005668, allocations: 0 / 351.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.005674, allocations: 4 kB / 351.5 MB, free: 12.46 MB / 282.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.0006744/0.006348, allocations: 0.5464 MB / 352 MB, free: 11.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.006387, allocations: 11.98 kB / 352 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.006472, allocations: 44.73 kB / 352.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.00691, allocations: 208.7 kB / 352.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.007012, allocations: 123.4 kB / 352.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.007048, allocations: 20.38 kB / 352.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.007303, allocations: 180.3 kB / 352.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.007317, allocations: 8.125 kB / 352.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.007336, allocations: 19.94 kB / 352.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.007345, allocations: 4 kB / 352.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.007494, allocations: 91.66 kB / 352.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.008155, allocations: 0.4991 MB / 353.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.008503, allocations: 146.9 kB / 353.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.008631, allocations: 71.64 kB / 353.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.008654, allocations: 8 kB / 353.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.008796, allocations: 119.7 kB / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.013e-06/0.008798, allocations: 0 / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005784/0.009377, allocations: 180.7 kB / 353.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.00941, allocations: 55.41 kB / 353.8 MB, free: 9.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.009535, allocations: 221.9 kB / 354 MB, free: 9.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.009555, allocations: 29.7 kB / 354 MB, free: 9.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.00963, allocations: 191 kB / 354.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.009672, allocations: 63.47 kB / 354.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.009726, allocations: 47.34 kB / 354.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.00984, allocations: 0.5 MB / 354.8 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.009896, allocations: 27.98 kB / 354.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.009973, allocations: 73.97 kB / 354.9 MB, free: 8.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.01016, allocations: 145.6 kB / 355 MB, free: 8.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01016, allocations: 3.938 kB / 355.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001959/0.01036, allocations: 161.4 kB / 355.2 MB, free: 8.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01037, allocations: 4 kB / 355.2 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01038, allocations: 4 kB / 355.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.0104, allocations: 0 / 355.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.01067, allocations: 83.98 kB / 355.3 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01068, allocations: 0 / 355.3 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.01075, allocations: 23.88 kB / 355.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01077, allocations: 4 kB / 355.3 MB, free: 8.316 MB / 282.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.0001623/0.01093, allocations: 180.9 kB / 355.5 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.01095, allocations: 23.91 kB / 355.5 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.01119, allocations: 162.1 kB / 355.7 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01119, allocations: 4 kB / 355.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.0112, allocations: 0 / 355.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.0112, allocations: 64 / 355.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.01168, allocations: 493 kB / 356.2 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01168, allocations: 0 / 356.2 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.01192, allocations: 67.95 kB / 356.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01192, allocations: 0 / 356.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.01194, allocations: 0 / 356.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01194, allocations: 4 kB / 356.2 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.01195, allocations: 3.938 kB / 356.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.01225, allocations: 339.6 kB / 356.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.01227, allocations: 19.92 kB / 356.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.0123, allocations: 4 kB / 356.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.01237, allocations: 11.98 kB / 356.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.01242, allocations: 15.92 kB / 356.6 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.01244, allocations: 11.98 kB / 356.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.0125, allocations: 160.2 kB / 356.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0125, allocations: 0 / 356.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.0127, allocations: 59.89 kB / 356.9 MB, free: 6.715 MB / 282.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 8.775e-05/0.01279, allocations: 103.2 kB / 357 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.01298, allocations: 108.3 kB / 357.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01298, allocations: 0 / 357.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.01306, allocations: 58.09 kB / 357.1 MB, free: 6.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01331, allocations: 35.97 kB / 357.2 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.01463, allocations: 0.5097 MB / 357.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.963e-05/0.01468, allocations: 75.98 kB / 357.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.01475, allocations: 25.47 kB / 357.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.0148, allocations: 24.44 kB / 357.8 MB, free: 5.719 MB / 282.7 MB Notification: Performance of SimCode: time 1.472e-06/0.0148, allocations: 0 / 357.8 MB, free: 5.719 MB / 282.7 MB Notification: Performance of Templates: time 0.004445/0.01925, allocations: 2.217 MB / 360 MB, free: 3.543 MB / 282.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.746395962778479]