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.001368/0.001368, allocations: 80.88 kB / 20.8 MB, free: 3.66 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.001847/0.001847, allocations: 165 kB / 24.22 MB, free: 248 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 1.06/1.06, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.05908/0.05908, allocations: 12.76 MB / 273.9 MB, free: 132 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 1.993e-06/1.993e-06, allocations: 0 / 294.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.755e-05, allocations: 7.094 kB / 294.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.004852/0.004889, allocations: 2.719 MB / 297.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.006548, allocations: 0.6754 MB / 298.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.006729, allocations: 8.125 kB / 298.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.006918, allocations: 36.67 kB / 298.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.007264, allocations: 88.81 kB / 298.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.00753, allocations: 67.77 kB / 298.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.007934, allocations: 289.6 kB / 298.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.008093, allocations: 45.41 kB / 298.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.008496, allocations: 149.2 kB / 298.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.008666, allocations: 86.52 kB / 299 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.0087, allocations: 15.84 kB / 299 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.008736, allocations: 15.84 kB / 299.1 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.008772, allocations: 41.72 kB / 299.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.008846, allocations: 73.83 kB / 299.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.009084, allocations: 164.2 kB / 299.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.009093, allocations: 4 kB / 299.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009095, allocations: 1.062 kB / 299.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.009101, allocations: 0 / 299.3 MB, free: 9.043 MB / 266.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.0005209/0.009622, allocations: 401.5 kB / 299.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.009656, allocations: 13.05 kB / 299.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.009713, allocations: 30.89 kB / 299.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.009921, allocations: 175.9 kB / 299.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.01, allocations: 123 kB / 300.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.01003, allocations: 15.28 kB / 300.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.01026, allocations: 162.1 kB / 300.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01027, allocations: 1.438 kB / 300.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.01029, allocations: 9.875 kB / 300.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.0103, allocations: 3.062 kB / 300.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.0104, allocations: 59.33 kB / 300.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.01085, allocations: 320.6 kB / 300.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.01111, allocations: 99.94 kB / 300.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.01115, allocations: 42.53 kB / 300.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.01117, allocations: 3.75 kB / 300.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.999e-05/0.01127, allocations: 110.7 kB / 300.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.01127, allocations: 4 kB / 300.9 MB, free: 7.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001818/0.01146, allocations: 100.4 kB / 301 MB, free: 7.914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.01148, allocations: 54.25 kB / 301 MB, free: 7.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.01156, allocations: 160.6 kB / 301.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.01157, allocations: 26.89 kB / 301.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.01161, allocations: 132 kB / 301.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.01164, allocations: 46.7 kB / 301.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.01169, allocations: 41.31 kB / 301.4 MB, free: 7.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.01173, allocations: 327.3 kB / 301.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.01176, allocations: 14.17 kB / 301.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.0118, allocations: 49.61 kB / 301.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.01189, allocations: 87.7 kB / 301.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01189, allocations: 1.219 kB / 301.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001695/0.01206, allocations: 104 kB / 302 MB, free: 7.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.01208, allocations: 11.44 kB / 302 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01209, allocations: 2 kB / 302 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.0121, allocations: 6.094 kB / 302 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.0124, allocations: 82.02 kB / 302.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01241, allocations: 6.297 kB / 302.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.01247, allocations: 24.77 kB / 302.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01248, allocations: 4.328 kB / 302.1 MB, free: 7.031 MB / 266.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 8.954e-05/0.01257, allocations: 123.4 kB / 302.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.01259, allocations: 21.69 kB / 302.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.01273, allocations: 98.44 kB / 302.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01274, allocations: 5.312 kB / 302.4 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01274, allocations: 4 kB / 302.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01274, allocations: 2.688 kB / 302.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.01306, allocations: 289.8 kB / 302.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01306, allocations: 0 / 302.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.01332, allocations: 81.67 kB / 302.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01333, allocations: 0 / 302.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01334, allocations: 2.688 kB / 302.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01335, allocations: 1.375 kB / 302.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01335, allocations: 0 / 302.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.01356, allocations: 208.4 kB / 302.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.01359, allocations: 20.7 kB / 303 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01361, allocations: 1.562 kB / 303 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.01368, allocations: 17.17 kB / 303 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.01373, allocations: 9.562 kB / 303 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.01375, allocations: 8.984 kB / 303 MB, free: 6.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.01379, allocations: 40.16 kB / 303 MB, free: 6.438 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01379, allocations: 3.938 kB / 303 MB, free: 6.434 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.01397, allocations: 54.17 kB / 303.1 MB, free: 6.422 MB / 266.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 8.81e-05/0.01406, allocations: 86.69 kB / 303.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.01421, allocations: 72.5 kB / 303.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.01421, allocations: 5.219 kB / 303.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.01427, allocations: 43.2 kB / 303.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01447, allocations: 46.45 kB / 303.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.01548, allocations: 424.8 kB / 303.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.01552, allocations: 71.89 kB / 303.8 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.888e-05/0.01559, allocations: 23.48 kB / 303.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.01569, allocations: 86.33 kB / 303.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01569, allocations: 1.719 kB / 303.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Templates: time 0.004113/0.01981, allocations: 2.187 MB / 306.1 MB, free: 5.102 MB / 266.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.825889171101153]