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.001689/0.001689, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001536/0.001536, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1446/0.1446, allocations: 23.89 MB / 337.1 MB, free: 11.06 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.002141/0.002141, allocations: 79 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 59.84 MB / 0.5197 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004487/0.3616, allocations: 3.217 MB / 0.5229 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.3672, allocations: 4.25 MB / 0.527 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.3676, allocations: 8.094 kB / 0.527 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.368, allocations: 101.3 kB / 0.5271 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.3692, allocations: 448 kB / 0.5276 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.3706, allocations: 0.5354 MB / 0.5281 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000765/0.3713, allocations: 0.5808 MB / 0.5287 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.3718, allocations: 292.2 kB / 0.5289 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.3722, allocations: 296.1 kB / 0.5292 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.3726, allocations: 273.5 kB / 0.5295 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.3727, allocations: 52.12 kB / 0.5295 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3738, allocations: 449.6 kB / 0.53 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.374, allocations: 128.4 kB / 0.5301 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.3742, allocations: 236.2 kB / 0.5303 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.3758, allocations: 1.074 MB / 0.5313 GB, free: 2.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3758, allocations: 0 / 0.5313 GB, free: 2.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3758, allocations: 0.7031 kB / 0.5313 GB, free: 2.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3759, allocations: 1.031 kB / 0.5314 GB, free: 2.727 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.001295/0.3772, allocations: 0.8025 MB / 0.5321 GB, free: 2.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3772, allocations: 8.938 kB / 0.5321 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.3775, allocations: 94.2 kB / 0.5322 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.3781, allocations: 315 kB / 0.5325 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3781, allocations: 31.97 kB / 0.5326 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.3782, allocations: 47.56 kB / 0.5326 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.3789, allocations: 462.2 kB / 0.533 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3789, allocations: 0 / 0.533 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.379, allocations: 15.59 kB / 0.5331 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.379, allocations: 12.25 kB / 0.5331 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.3798, allocations: 0.5033 MB / 0.5336 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.3818, allocations: 1.138 MB / 0.5347 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.3825, allocations: 348.4 kB / 0.535 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.3827, allocations: 107.5 kB / 0.5351 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.3845, allocations: 0.8651 MB / 0.536 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.3845, allocations: 39.05 kB / 0.536 GB, free: 160 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3845, allocations: 4 kB / 0.536 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01376/0.3983, allocations: 2.113 MB / 0.5381 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3983, allocations: 56.33 kB / 0.5381 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.3987, allocations: 275.2 kB / 0.5384 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.3987, allocations: 31.02 kB / 0.5384 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.399, allocations: 284.5 kB / 0.5387 GB, free: 14.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3991, allocations: 118.8 kB / 0.5388 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.3992, allocations: 80.39 kB / 0.5389 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.3994, allocations: 347.2 kB / 0.5392 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3997, allocations: 132.6 kB / 0.5393 GB, free: 14.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.4, allocations: 264.6 kB / 0.5396 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.4007, allocations: 424.3 kB / 0.54 GB, free: 13.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4007, allocations: 1.188 kB / 0.54 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003993/0.4047, allocations: 0.8204 MB / 0.5408 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4047, allocations: 10.23 kB / 0.5408 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4047, allocations: 7.219 kB / 0.5408 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.4082, allocations: 409.1 kB / 0.5412 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.4085, allocations: 82.14 kB / 0.5413 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006722/0.4152, allocations: 3.702 MB / 0.5449 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.4157, allocations: 15.97 kB / 0.5449 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.4157, allocations: 24.19 kB / 0.5449 GB, free: 10.46 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.0002822/0.416, allocations: 164 kB / 0.5451 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.4161, allocations: 30.19 kB / 0.5451 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.4208, allocations: 0.8299 MB / 0.5459 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4208, allocations: 3.375 kB / 0.5459 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4208, allocations: 2.562 kB / 0.5459 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4208, allocations: 9.859 kB / 0.5459 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000881/0.4217, allocations: 490 kB / 0.5464 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4217, allocations: 5.25 kB / 0.5464 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.4219, allocations: 50.75 kB / 0.5465 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/0.4263, allocations: 492.3 kB / 0.5469 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.4264, allocations: 15.5 kB / 0.5469 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007664/0.4341, allocations: 4.879 MB / 0.5517 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4341, allocations: 2.844 kB / 0.5517 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.4392, allocations: 1.118 MB / 0.5528 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.4394, allocations: 30.61 kB / 0.5528 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.4395, allocations: 16.31 kB / 0.5528 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.4398, allocations: 12.42 kB / 0.5529 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.4399, allocations: 48.95 kB / 0.5529 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.44, allocations: 16.09 kB / 0.5529 GB, free: 4.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.4402, allocations: 185.6 kB / 0.5531 GB, free: 4.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4402, allocations: 0 / 0.5531 GB, free: 4.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001031/0.4412, allocations: 240.2 kB / 0.5533 GB, free: 4.016 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.000607/0.4418, allocations: 292.3 kB / 0.5536 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.4432, allocations: 0.6583 MB / 0.5542 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.4432, allocations: 0 / 0.5542 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.4442, allocations: 0.6158 MB / 0.5548 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.4449, allocations: 103.1 kB / 0.5549 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4468, allocations: 1.076 MB / 0.556 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.447, allocations: 224.4 kB / 0.5562 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4472, allocations: 61.91 kB / 0.5563 GB, free: 1.926 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4472, allocations: 0 / 0.5563 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Templates: time 0.01784/0.465, allocations: 12.36 MB / 0.5683 GB, free: 6.871 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: 8.871748920995742] Failed to read output from testmodel.py, exit status != 0: 0.47457043174654245 0.48986748900000004 0.110808262 Calling exit ...