Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.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.001475/0.001475, allocations: 92.22 kB / 19.65 MB, free: 276 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.001987/0.001987, allocations: 173 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.9454/0.9454, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.05596/0.05596, allocations: 12.75 MB / 272.7 MB, free: 280 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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 3.938 kB / 346.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.646e-05, allocations: 6.25 kB / 346.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002192/0.002208, allocations: 2.542 MB / 349.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000901/0.003109, allocations: 0.6154 MB / 349.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.003205, allocations: 4 kB / 349.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.00333, allocations: 31.66 kB / 349.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.003514, allocations: 67.39 kB / 349.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.003664, allocations: 67.78 kB / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.003907, allocations: 238.7 kB / 350.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.004031, allocations: 21.81 kB / 350.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.004247, allocations: 131.6 kB / 350.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.004373, allocations: 67.81 kB / 350.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.004394, allocations: 12 kB / 350.5 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.004413, allocations: 12 kB / 350.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.004445, allocations: 43.83 kB / 350.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.004503, allocations: 55.91 kB / 350.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.00467, allocations: 131.5 kB / 350.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004672, allocations: 0 / 350.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004672, allocations: 0 / 350.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004676, allocations: 0 / 350.7 MB, free: 13.2 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005437/0.00522, allocations: 496.1 kB / 351.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.005252, allocations: 11.98 kB / 351.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.00531, allocations: 28.84 kB / 351.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.005501, allocations: 182.7 kB / 351.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.00557, allocations: 64.2 kB / 351.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.005594, allocations: 16.31 kB / 351.5 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.005822, allocations: 151.2 kB / 351.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005832, allocations: 192 / 351.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.005847, allocations: 7.938 kB / 351.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.005854, allocations: 4 kB / 351.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.00596, allocations: 58.53 kB / 351.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.006461, allocations: 435.6 kB / 352.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.006736, allocations: 111 kB / 352.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.006787, allocations: 35.67 kB / 352.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.006803, allocations: 4 kB / 352.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.006912, allocations: 114.7 kB / 352.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.006914, allocations: 0 / 352.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002348/0.007148, allocations: 140.8 kB / 352.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.007177, allocations: 55.41 kB / 352.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.007276, allocations: 205.8 kB / 352.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.007293, allocations: 33.7 kB / 352.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.007354, allocations: 158.7 kB / 353 MB, free: 10.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.007385, allocations: 47.69 kB / 353 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.007424, allocations: 35.36 kB / 353 MB, free: 10.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.00753, allocations: 0.4923 MB / 353.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.00757, allocations: 19.98 kB / 353.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.007624, allocations: 54.98 kB / 353.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.007731, allocations: 83.16 kB / 353.7 MB, free: 9.965 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007733, allocations: 0 / 353.7 MB, free: 9.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001403/0.007873, allocations: 113.6 kB / 353.8 MB, free: 9.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.007885, allocations: 19.95 kB / 353.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.007889, allocations: 0 / 353.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.007903, allocations: 3.938 kB / 353.8 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.008065, allocations: 43.97 kB / 353.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.008069, allocations: 0 / 353.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.008122, allocations: 19.88 kB / 353.9 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.00813, allocations: 8 kB / 353.9 MB, free: 9.754 MB / 282.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: 3 * 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 (17): * Single equations (assignments): 17 * 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.0001077/0.008238, allocations: 172.5 kB / 354.1 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.008259, allocations: 23.89 kB / 354.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.008423, allocations: 122.4 kB / 354.2 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.008427, allocations: 7.938 kB / 354.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.00843, allocations: 0 / 354.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.008435, allocations: 4 kB / 354.2 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.008757, allocations: 425.3 kB / 354.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008759, allocations: 3.984 kB / 354.6 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.008891, allocations: 31.97 kB / 354.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008894, allocations: 3.938 kB / 354.7 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.008907, allocations: 3.984 kB / 354.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008908, allocations: 4 kB / 354.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008908, allocations: 0 / 354.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.009142, allocations: 307.6 kB / 355 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.009159, allocations: 15.84 kB / 355 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.009175, allocations: 4 kB / 355 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.009237, allocations: 11.98 kB / 355 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.009277, allocations: 7.984 kB / 355 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.009292, allocations: 11.98 kB / 355 MB, free: 8.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.009348, allocations: 150.2 kB / 355.2 MB, free: 8.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009348, allocations: 0 / 355.2 MB, free: 8.398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.009511, allocations: 40 kB / 355.2 MB, free: 8.359 MB / 282.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 (13): * Single equations (assignments): 10 * 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.356e-05/0.009585, allocations: 99.28 kB / 355.3 MB, free: 8.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.009734, allocations: 79.58 kB / 355.4 MB, free: 8.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.009736, allocations: 4 kB / 355.4 MB, free: 8.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.009795, allocations: 43.61 kB / 355.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01002, allocations: 36.17 kB / 355.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.01105, allocations: 382.4 kB / 355.9 MB, free: 7.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.042e-05/0.01109, allocations: 71.83 kB / 355.9 MB, free: 7.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.01114, allocations: 29.16 kB / 356 MB, free: 7.562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.01118, allocations: 20.5 kB / 356 MB, free: 7.543 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01118, allocations: 0 / 356 MB, free: 7.543 MB / 282.7 MB Notification: Performance of Templates: time 0.003238/0.01442, allocations: 1.847 MB / 357.8 MB, free: 5.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6205290253274143]