Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HeatingOfWater.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.001363/0.001363, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001302/0.001302, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1268/0.1268, allocations: 23.85 MB / 336.3 MB, free: 11.29 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical 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.001967/0.001967, allocations: 71.84 kB / 471.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2658, allocations: 59.86 MB / 0.519 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003795/0.2696, allocations: 3.494 MB / 0.5225 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.274, allocations: 4.803 MB / 0.5272 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.2742, allocations: 8.25 kB / 0.5272 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.2746, allocations: 106.4 kB / 0.5273 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008263/0.2754, allocations: 458.6 kB / 0.5277 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.2764, allocations: 0.5316 MB / 0.5282 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.2769, allocations: 0.5857 MB / 0.5288 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.2772, allocations: 313.3 kB / 0.5291 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.2775, allocations: 296.9 kB / 0.5294 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.2779, allocations: 305.2 kB / 0.5297 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.278, allocations: 51.94 kB / 0.5297 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.279, allocations: 483.2 kB / 0.5302 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.2791, allocations: 120.5 kB / 0.5303 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.2793, allocations: 279.4 kB / 0.5306 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.2808, allocations: 1.078 MB / 0.5316 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2809, allocations: 3.938 kB / 0.5316 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2809, allocations: 0.625 kB / 0.5316 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2809, allocations: 4 kB / 0.5316 GB, free: 1.742 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001391/0.2823, allocations: 0.7987 MB / 0.5324 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2823, allocations: 9.719 kB / 0.5324 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.2826, allocations: 94.45 kB / 0.5325 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.2832, allocations: 301.5 kB / 0.5328 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.2832, allocations: 36.5 kB / 0.5328 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.2833, allocations: 51.75 kB / 0.5329 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.284, allocations: 453.5 kB / 0.5333 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.284, allocations: 3.938 kB / 0.5333 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.284, allocations: 24.42 kB / 0.5333 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.284, allocations: 11.38 kB / 0.5333 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.2848, allocations: 0.5091 MB / 0.5338 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.2871, allocations: 1.499 MB / 0.5353 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.2878, allocations: 347.2 kB / 0.5356 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.288, allocations: 106.8 kB / 0.5357 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/0.29, allocations: 0.9161 MB / 0.5366 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.29, allocations: 36.06 kB / 0.5367 GB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.29, allocations: 1.344 kB / 0.5367 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01504/0.305, allocations: 2.115 MB / 0.5387 GB, free: 14.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3051, allocations: 60.02 kB / 0.5388 GB, free: 14.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.3055, allocations: 296 kB / 0.5391 GB, free: 13.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.3055, allocations: 34.89 kB / 0.5391 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.3057, allocations: 271.2 kB / 0.5394 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3058, allocations: 114.7 kB / 0.5395 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.306, allocations: 88.81 kB / 0.5396 GB, free: 13.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3061, allocations: 345.7 kB / 0.5399 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.3064, allocations: 136 kB / 0.54 GB, free: 13.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.3067, allocations: 260.7 kB / 0.5403 GB, free: 12.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.3073, allocations: 429.6 kB / 0.5407 GB, free: 12.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3073, allocations: 1.531 kB / 0.5407 GB, free: 12.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00413/0.3115, allocations: 0.8152 MB / 0.5415 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3115, allocations: 11.52 kB / 0.5415 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3115, allocations: 3.906 kB / 0.5415 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/0.3152, allocations: 408.4 kB / 0.5419 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.3155, allocations: 78.58 kB / 0.5419 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006667/0.3221, allocations: 3.788 MB / 0.5456 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.3225, allocations: 16.2 kB / 0.5457 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.3226, allocations: 22.3 kB / 0.5457 GB, free: 9.082 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.3228, allocations: 168.7 kB / 0.5458 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.3229, allocations: 44.27 kB / 0.5459 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/0.3281, allocations: 0.8209 MB / 0.5467 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3281, allocations: 3.406 kB / 0.5467 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3281, allocations: 2.156 kB / 0.5467 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3281, allocations: 0 / 0.5467 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.3289, allocations: 0.614 MB / 0.5473 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3289, allocations: 1.344 kB / 0.5473 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.3291, allocations: 52.56 kB / 0.5473 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00486/0.334, allocations: 483.6 kB / 0.5478 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.334, allocations: 22.97 kB / 0.5478 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007442/0.3414, allocations: 4.992 MB / 0.5527 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.3415, allocations: 6.25 kB / 0.5527 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/0.3467, allocations: 1.121 MB / 0.5538 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3468, allocations: 40.28 kB / 0.5538 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.3469, allocations: 8.5 kB / 0.5539 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.3472, allocations: 8.75 kB / 0.5539 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3473, allocations: 55.23 kB / 0.5539 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.3473, allocations: 15.27 kB / 0.5539 GB, free: 2.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3476, allocations: 207.5 kB / 0.5541 GB, free: 2.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3476, allocations: 0 / 0.5541 GB, free: 2.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009588/0.3485, allocations: 239.8 kB / 0.5544 GB, free: 2.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006701/0.3492, allocations: 293.2 kB / 0.5546 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3507, allocations: 0.6652 MB / 0.5553 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3507, allocations: 4 kB / 0.5553 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.3516, allocations: 0.5961 MB / 0.5559 GB, free: 1.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006763/0.3523, allocations: 106.8 kB / 0.556 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3541, allocations: 1.036 MB / 0.557 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.3546, allocations: 0.8301 MB / 0.5578 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.3549, allocations: 69.66 kB / 0.5579 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.355, allocations: 59.27 kB / 0.5579 GB, free: 15.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.355, allocations: 0 / 0.5579 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Templates: time 0.01964/0.3747, allocations: 11.9 MB / 0.5695 GB, free: 5.086 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.883811854990199] Failed to read output from testmodel.py, exit status != 0: 0.3829098897986114 0.396207423 0.11246642700000001 Calling exit ...