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.0009897/0.0009897, allocations: 104.4 kB / 19.7 MB, free: 444 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.001092/0.001092, allocations: 212.2 kB / 23 MB, free: 2.977 MB / 13.93 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.023/1.023, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.07029/0.07029, allocations: 17.16 MB / 330.3 MB, free: 0.7266 MB / 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 67.89 kB / 460.7 MB, free: 27.18 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09301, allocations: 57.77 MB / 0.5063 GB, free: 1.297 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.002604/0.09561, allocations: 2.512 MB / 0.5087 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.09643, allocations: 0.6389 MB / 0.5094 GB, free: 14.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.09653, allocations: 7.938 kB / 0.5094 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.09666, allocations: 35.64 kB / 0.5094 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.09684, allocations: 87.3 kB / 0.5095 GB, free: 14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.09699, allocations: 67.86 kB / 0.5095 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.09723, allocations: 282.6 kB / 0.5098 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.09735, allocations: 33.8 kB / 0.5098 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.09753, allocations: 111.6 kB / 0.51 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.09767, allocations: 95.56 kB / 0.51 GB, free: 13.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.09769, allocations: 16 kB / 0.5101 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.09772, allocations: 16 kB / 0.5101 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.09775, allocations: 39.83 kB / 0.5101 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.09782, allocations: 87.66 kB / 0.5102 GB, free: 13.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.09802, allocations: 219.1 kB / 0.5104 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.09802, allocations: 0 / 0.5104 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.09803, allocations: 3.938 kB / 0.5104 GB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.09803, allocations: 0 / 0.5104 GB, free: 13.05 MB / 378.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.0005794/0.09861, allocations: 441.3 kB / 0.5108 GB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.09865, allocations: 8.031 kB / 0.5108 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.09869, allocations: 20.84 kB / 0.5109 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.09892, allocations: 182.1 kB / 0.511 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.09901, allocations: 123.4 kB / 0.5111 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.09904, allocations: 16.38 kB / 0.5112 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.09928, allocations: 195.1 kB / 0.5114 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.09929, allocations: 0 / 0.5114 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.09931, allocations: 8 kB / 0.5114 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.09931, allocations: 4 kB / 0.5114 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.09952, allocations: 135.9 kB / 0.5115 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.1001, allocations: 443.9 kB / 0.5119 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.1005, allocations: 162.5 kB / 0.5121 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.1006, allocations: 68.83 kB / 0.5121 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1006, allocations: 8.188 kB / 0.5121 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1007, allocations: 144.1 kB / 0.5123 GB, free: 10.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.1007, allocations: 0 / 0.5123 GB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003652/0.1011, allocations: 225.4 kB / 0.5125 GB, free: 10.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.1011, allocations: 59.41 kB / 0.5126 GB, free: 10.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1012, allocations: 161.6 kB / 0.5127 GB, free: 10.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1013, allocations: 33.7 kB / 0.5127 GB, free: 10.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.1013, allocations: 140.2 kB / 0.5129 GB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1013, allocations: 47.58 kB / 0.5129 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1014, allocations: 37.61 kB / 0.513 GB, free: 10.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.1015, allocations: 334.7 kB / 0.5133 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.1015, allocations: 47.97 kB / 0.5133 GB, free: 9.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.1016, allocations: 97.08 kB / 0.5134 GB, free: 9.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1019, allocations: 151.3 kB / 0.5136 GB, free: 9.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1019, allocations: 0 / 0.5136 GB, free: 9.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002432/0.1021, allocations: 189.5 kB / 0.5137 GB, free: 9.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1021, allocations: 4 kB / 0.5137 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1021, allocations: 0 / 0.5137 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1021, allocations: 4 kB / 0.5137 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.1024, allocations: 71.88 kB / 0.5138 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1024, allocations: 4.062 kB / 0.5138 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.1024, allocations: 19.94 kB / 0.5138 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1025, allocations: 8 kB / 0.5138 GB, free: 9.293 MB / 378.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.0001333/0.1026, allocations: 141.7 kB / 0.514 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.1026, allocations: 15.91 kB / 0.514 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.1029, allocations: 191 kB / 0.5142 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1029, allocations: 0 / 0.5142 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1029, allocations: 0 / 0.5142 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1029, allocations: 0 / 0.5142 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.1033, allocations: 462 kB / 0.5146 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1033, allocations: 0 / 0.5146 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.1035, allocations: 59.95 kB / 0.5147 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1035, allocations: 0 / 0.5147 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1035, allocations: 0 / 0.5147 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1035, allocations: 4 kB / 0.5147 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1035, allocations: 0 / 0.5147 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1039, allocations: 354.5 kB / 0.515 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.1039, allocations: 27.86 kB / 0.515 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1039, allocations: 4 kB / 0.515 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.104, allocations: 7.984 kB / 0.5151 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.104, allocations: 15.98 kB / 0.5151 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1041, allocations: 8.062 kB / 0.5151 GB, free: 7.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.1041, allocations: 132.7 kB / 0.5152 GB, free: 7.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1041, allocations: 0 / 0.5152 GB, free: 7.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.1043, allocations: 55.89 kB / 0.5153 GB, free: 7.773 MB / 378.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 6.894e-05/0.1044, allocations: 103.2 kB / 0.5154 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.1046, allocations: 135.8 kB / 0.5155 GB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.1046, allocations: 4.125 kB / 0.5155 GB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.776e-05/0.1047, allocations: 63.95 kB / 0.5155 GB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1049, allocations: 27.92 kB / 0.5156 GB, free: 7.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.1055, allocations: 446.9 kB / 0.516 GB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.309e-05/0.1056, allocations: 112.1 kB / 0.5161 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.1056, allocations: 19.44 kB / 0.5161 GB, free: 6.82 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1056, allocations: 3.938 kB / 0.5161 GB, free: 6.816 MB / 378.7 MB Notification: Performance of Templates: time 0.002797/0.1084, allocations: 2.35 MB / 0.5184 GB, free: 4.477 MB / 378.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 > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.905774601269513]