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.001948/0.001948, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002982/0.002982, allocations: 216.7 kB / 22.3 MB, free: 5.305 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.625/1.625, allocations: 230.6 MB / 256.1 MB, free: 7.793 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.174/0.174, allocations: 23.89 MB / 336.4 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 179] 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.001935/0.001935, allocations: 71.88 kB / 471.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4559, allocations: 59.86 MB / 0.5191 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.006549/0.4625, allocations: 3.21 MB / 0.5222 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.4706, allocations: 4.249 MB / 0.5264 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008945/0.4715, allocations: 9 kB / 0.5264 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006723/0.4722, allocations: 101.3 kB / 0.5265 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.4745, allocations: 451.6 kB / 0.5269 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.4769, allocations: 0.5327 MB / 0.5275 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.4784, allocations: 0.5771 MB / 0.528 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.4789, allocations: 303.2 kB / 0.5283 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.4793, allocations: 292.6 kB / 0.5286 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.4798, allocations: 276.9 kB / 0.5288 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/0.4798, allocations: 52.44 kB / 0.5289 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.4816, allocations: 454.4 kB / 0.5293 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.4818, allocations: 119.3 kB / 0.5294 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.4821, allocations: 237.5 kB / 0.5297 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.485, allocations: 1.077 MB / 0.5307 GB, free: 2.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.485, allocations: 0 / 0.5307 GB, free: 2.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.485, allocations: 1.062 kB / 0.5307 GB, free: 2.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.485, allocations: 0 / 0.5307 GB, free: 2.762 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.001887/0.4869, allocations: 0.7954 MB / 0.5315 GB, free: 2.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/0.487, allocations: 9.406 kB / 0.5315 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.4875, allocations: 93.73 kB / 0.5316 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.4882, allocations: 311.7 kB / 0.5319 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.4883, allocations: 36.12 kB / 0.5319 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.4884, allocations: 51.11 kB / 0.532 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/0.4894, allocations: 461.4 kB / 0.5324 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4894, allocations: 4.688 kB / 0.5324 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.4895, allocations: 16.56 kB / 0.5324 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.4895, allocations: 15.53 kB / 0.5325 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.4905, allocations: 0.5041 MB / 0.5329 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.4931, allocations: 1.133 MB / 0.5341 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.4939, allocations: 341.5 kB / 0.5344 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.4941, allocations: 106.7 kB / 0.5345 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/0.4961, allocations: 0.8703 MB / 0.5353 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.4961, allocations: 36.5 kB / 0.5354 GB, free: 200 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.4961, allocations: 0 / 0.5354 GB, free: 200 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01449/0.5106, allocations: 2.11 MB / 0.5374 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.5107, allocations: 55.42 kB / 0.5375 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.5112, allocations: 275.6 kB / 0.5377 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.5113, allocations: 35.34 kB / 0.5378 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.5115, allocations: 285.1 kB / 0.538 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.5117, allocations: 118.4 kB / 0.5382 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.5118, allocations: 80.53 kB / 0.5382 GB, free: 14.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.512, allocations: 343.5 kB / 0.5386 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.5123, allocations: 133.7 kB / 0.5387 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.5127, allocations: 264.1 kB / 0.5389 GB, free: 14.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.5134, allocations: 424.8 kB / 0.5394 GB, free: 13.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5134, allocations: 1.375 kB / 0.5394 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004211/0.5176, allocations: 0.8151 MB / 0.5401 GB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.5176, allocations: 11.16 kB / 0.5402 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5177, allocations: 8.219 kB / 0.5402 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/0.5211, allocations: 408 kB / 0.5406 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.5214, allocations: 86.23 kB / 0.5406 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007248/0.5286, allocations: 3.699 MB / 0.5443 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.5291, allocations: 17.23 kB / 0.5443 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.5292, allocations: 22.91 kB / 0.5443 GB, free: 10.52 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.0003487/0.5296, allocations: 172.3 kB / 0.5445 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5297, allocations: 30.5 kB / 0.5445 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004923/0.5346, allocations: 0.83 MB / 0.5453 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5346, allocations: 3.375 kB / 0.5453 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5346, allocations: 2.062 kB / 0.5453 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5346, allocations: 6 kB / 0.5453 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.5356, allocations: 0.4899 MB / 0.5458 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5356, allocations: 2.969 kB / 0.5458 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.5358, allocations: 49.81 kB / 0.5458 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004459/0.5403, allocations: 491.7 kB / 0.5463 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.5403, allocations: 22.86 kB / 0.5463 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008019/0.5483, allocations: 4.869 MB / 0.5511 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.5483, allocations: 10.42 kB / 0.5511 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/0.5537, allocations: 1.109 MB / 0.5522 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.5539, allocations: 36.12 kB / 0.5522 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.554, allocations: 11.53 kB / 0.5522 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.5543, allocations: 8.562 kB / 0.5522 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.5545, allocations: 48.89 kB / 0.5523 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.5546, allocations: 20 kB / 0.5523 GB, free: 4.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.5548, allocations: 186.3 kB / 0.5525 GB, free: 4.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5548, allocations: 0 / 0.5525 GB, free: 4.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001266/0.5561, allocations: 238.9 kB / 0.5527 GB, free: 4.035 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.0006431/0.5567, allocations: 289.8 kB / 0.553 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.5582, allocations: 0.6607 MB / 0.5536 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5583, allocations: 1.969 kB / 0.5536 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.5593, allocations: 0.6149 MB / 0.5542 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.56, allocations: 106.8 kB / 0.5543 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5621, allocations: 1.034 MB / 0.5553 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5623, allocations: 227.2 kB / 0.5555 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.5626, allocations: 73.41 kB / 0.5556 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5627, allocations: 57.58 kB / 0.5557 GB, free: 1.93 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5627, allocations: 1.375 kB / 0.5557 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Templates: time 0.02096/0.5836, allocations: 11.7 MB / 0.5671 GB, free: 7.531 MB / 414.1 MB " [Timeout remaining time 659] 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: 6.187525112181902] Failed to read output from testmodel.py, exit status != 0: 0.5934320390224457 0.608339237 0.12000127000000001 Calling exit ...