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.001934/0.001934, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002415/0.002415, allocations: 170.3 kB / 22.45 MB, free: 2.105 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 1.634/1.634, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.09588/0.09588, allocations: 12.74 MB / 271.9 MB, free: 496 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.884e-06/1.884e-06, allocations: 0 / 403.1 MB, free: 8.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.305e-05, allocations: 2.281 kB / 403.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.01202/0.01206, allocations: 2.517 MB / 405.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.01399, allocations: 0.6426 MB / 406.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.01422, allocations: 7.938 kB / 406.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.01445, allocations: 35.64 kB / 406.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.01789, allocations: 87.25 kB / 406.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.0182, allocations: 71.77 kB / 406.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.01882, allocations: 290.5 kB / 406.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.01901, allocations: 37.78 kB / 406.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.01951, allocations: 151.6 kB / 406.9 MB, free: 4.258 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.01979, allocations: 87.72 kB / 407 MB, free: 4.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.01983, allocations: 20 kB / 407 MB, free: 4.152 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.01989, allocations: 16 kB / 407 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.01996, allocations: 39.83 kB / 407.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.02012, allocations: 71.89 kB / 407.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.02358, allocations: 219.3 kB / 407.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.02359, allocations: 0 / 407.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02359, allocations: 3.938 kB / 407.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.0236, allocations: 0 / 407.4 MB, free: 3.809 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.00112/0.02472, allocations: 437.4 kB / 407.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.02476, allocations: 11.98 kB / 407.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.02486, allocations: 24.8 kB / 407.8 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.02527, allocations: 178.1 kB / 408 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.02546, allocations: 119.4 kB / 408.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.02551, allocations: 16.38 kB / 408.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.02609, allocations: 201.1 kB / 408.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.0261, allocations: 192 / 408.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.02614, allocations: 7.938 kB / 408.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.02615, allocations: 4 kB / 408.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.02972, allocations: 139.9 kB / 408.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.03104, allocations: 443.9 kB / 408.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/0.03181, allocations: 158.5 kB / 409.1 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.03202, allocations: 68.81 kB / 409.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.03205, allocations: 7.938 kB / 409.1 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.03345, allocations: 145 kB / 409.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.565e-06/0.03345, allocations: 0 / 409.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000922/0.03438, allocations: 224.1 kB / 409.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.03444, allocations: 55.41 kB / 409.5 MB, free: 1.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.03465, allocations: 176.6 kB / 409.7 MB, free: 1.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.03468, allocations: 25.7 kB / 409.7 MB, free: 1.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.0348, allocations: 136.4 kB / 409.9 MB, free: 1.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.03486, allocations: 47.59 kB / 409.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.03494, allocations: 37.7 kB / 410 MB, free: 1.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.03513, allocations: 334.8 kB / 410.3 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.03531, allocations: 47.97 kB / 410.3 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.03551, allocations: 83.64 kB / 410.4 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.03592, allocations: 147.3 kB / 410.6 MB, free: 380 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03592, allocations: 0 / 410.6 MB, free: 380 kB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000491/0.03641, allocations: 200.5 kB / 410.8 MB, free: 176 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.03643, allocations: 8 kB / 410.8 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.03644, allocations: 4.062 kB / 410.8 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.03646, allocations: 0 / 410.8 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.03695, allocations: 63.95 kB / 410.8 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.03696, allocations: 7.938 kB / 410.8 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.03713, allocations: 23.88 kB / 410.9 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.03715, allocations: 15.92 kB / 410.9 MB, free: 52 kB / 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.1651/0.2022, allocations: 129.2 kB / 411 MB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.2023, allocations: 16.72 kB / 411 MB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.203, allocations: 187.6 kB / 411.2 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.203, allocations: 2.797 kB / 411.2 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.203, allocations: 1.094 kB / 411.2 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.203, allocations: 0.7969 kB / 411.2 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.2037, allocations: 459.5 kB / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2037, allocations: 2.344 kB / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.2041, allocations: 54.02 kB / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.2041, allocations: 1.031 kB / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.2041, allocations: 7.625 kB / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2042, allocations: 8.656 kB / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2042, allocations: 0 / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.2047, allocations: 345.8 kB / 412.1 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.2048, allocations: 15.42 kB / 412.1 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.2048, allocations: 9.578 kB / 412.1 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2049, allocations: 14.92 kB / 412.1 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.205, allocations: 16.06 kB / 412.1 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.205, allocations: 5.219 kB / 412.1 MB, free: 21.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.2051, allocations: 118.7 kB / 412.2 MB, free: 20.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2051, allocations: 0 / 412.2 MB, free: 20.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.2054, allocations: 52.48 kB / 412.3 MB, free: 20.96 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 9.52e-05/0.2055, allocations: 104.6 kB / 412.4 MB, free: 20.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003985/0.2059, allocations: 140 kB / 412.5 MB, free: 20.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2059, allocations: 1.281 kB / 412.5 MB, free: 20.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.2061, allocations: 64.62 kB / 412.6 MB, free: 20.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.2064, allocations: 31.23 kB / 412.6 MB, free: 20.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007399/0.2072, allocations: 380.7 kB / 413 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2073, allocations: 109.8 kB / 413.1 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.2074, allocations: 24.14 kB / 413.1 MB, free: 20.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.2074, allocations: 19.8 kB / 413.1 MB, free: 20.5 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2074, allocations: 4 kB / 413.2 MB, free: 20.5 MB / 330.7 MB Notification: Performance of Templates: time 0.005642/0.2131, allocations: 1.883 MB / 415 MB, free: 20.29 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.334039097186178]