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.001593/0.001593, allocations: 105.2 kB / 19.7 MB, free: 2.008 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.001476/0.001476, allocations: 207.9 kB / 22.99 MB, free: 4.41 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.507/1.507, allocations: 230.6 MB / 256.8 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.1617/0.1617, allocations: 23.88 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.0021/0.0021, allocations: 71.89 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4089, allocations: 59.86 MB / 0.5197 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004471/0.4134, allocations: 3.211 MB / 0.5229 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.4187, allocations: 4.249 MB / 0.527 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/0.4192, allocations: 13.28 kB / 0.527 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.4196, allocations: 98.23 kB / 0.5271 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.4209, allocations: 451.1 kB / 0.5276 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.4225, allocations: 0.5312 MB / 0.5281 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007811/0.4233, allocations: 0.5819 MB / 0.5287 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.4237, allocations: 302.7 kB / 0.5289 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.424, allocations: 296.1 kB / 0.5292 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.4244, allocations: 310 kB / 0.5295 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/0.4245, allocations: 55.91 kB / 0.5296 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.4258, allocations: 466.1 kB / 0.53 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.4259, allocations: 119.8 kB / 0.5301 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.4262, allocations: 236.3 kB / 0.5304 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.428, allocations: 1.078 MB / 0.5314 GB, free: 2.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.428, allocations: 1.078 kB / 0.5314 GB, free: 2.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.428, allocations: 1.188 kB / 0.5314 GB, free: 2.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.428, allocations: 0 / 0.5314 GB, free: 2.586 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.001405/0.4294, allocations: 0.798 MB / 0.5322 GB, free: 2.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4294, allocations: 9.688 kB / 0.5322 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.4298, allocations: 94.94 kB / 0.5323 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.4304, allocations: 305 kB / 0.5326 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.4305, allocations: 36.78 kB / 0.5326 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.4306, allocations: 52.77 kB / 0.5327 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.4313, allocations: 452.7 kB / 0.5331 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4313, allocations: 0 / 0.5331 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.4314, allocations: 20.41 kB / 0.5331 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4314, allocations: 15.89 kB / 0.5331 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/0.4322, allocations: 0.5044 MB / 0.5336 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.4343, allocations: 1.141 MB / 0.5347 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.4351, allocations: 340.5 kB / 0.5351 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4352, allocations: 107.2 kB / 0.5352 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/0.4371, allocations: 0.8651 MB / 0.536 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4371, allocations: 41.75 kB / 0.5361 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.4371, allocations: 0 / 0.5361 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01361/0.4507, allocations: 2.107 MB / 0.5381 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4508, allocations: 58.94 kB / 0.5382 GB, free: 15.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.4512, allocations: 276.1 kB / 0.5384 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.4513, allocations: 35.83 kB / 0.5385 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.4515, allocations: 283.5 kB / 0.5387 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4516, allocations: 114.5 kB / 0.5388 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4518, allocations: 80.59 kB / 0.5389 GB, free: 14.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.452, allocations: 348 kB / 0.5393 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.4523, allocations: 133.3 kB / 0.5394 GB, free: 14.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.4526, allocations: 260.1 kB / 0.5396 GB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.4533, allocations: 432.2 kB / 0.54 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4533, allocations: 5.281 kB / 0.54 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003924/0.4573, allocations: 0.8109 MB / 0.5408 GB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4573, allocations: 12.31 kB / 0.5408 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4573, allocations: 7.812 kB / 0.5409 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003287/0.4606, allocations: 415.8 kB / 0.5413 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.4609, allocations: 83 kB / 0.5413 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.4676, allocations: 3.687 MB / 0.5449 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.4681, allocations: 17.27 kB / 0.5449 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.4682, allocations: 22.58 kB / 0.545 GB, free: 10.34 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.0003792/0.4686, allocations: 172.7 kB / 0.5451 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.4687, allocations: 30.12 kB / 0.5452 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/0.4735, allocations: 0.8268 MB / 0.546 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4735, allocations: 2.812 kB / 0.546 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4735, allocations: 2.375 kB / 0.546 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4735, allocations: 6.141 kB / 0.546 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009468/0.4744, allocations: 485.5 kB / 0.5464 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.4744, allocations: 2.312 kB / 0.5464 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.4746, allocations: 54.69 kB / 0.5465 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00422/0.4789, allocations: 493.6 kB / 0.547 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.4789, allocations: 18.23 kB / 0.547 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007904/0.4868, allocations: 4.885 MB / 0.5518 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4868, allocations: 2.312 kB / 0.5518 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.4918, allocations: 1.113 MB / 0.5528 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.4919, allocations: 34.94 kB / 0.5529 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.492, allocations: 8.562 kB / 0.5529 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.4923, allocations: 13.48 kB / 0.5529 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.4924, allocations: 47.81 kB / 0.5529 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.4925, allocations: 25.33 kB / 0.553 GB, free: 4.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.4927, allocations: 185.8 kB / 0.5531 GB, free: 3.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4927, allocations: 3.938 kB / 0.5532 GB, free: 3.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001125/0.4939, allocations: 239.9 kB / 0.5534 GB, free: 3.879 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.0005845/0.4944, allocations: 284.5 kB / 0.5537 GB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.496, allocations: 0.6613 MB / 0.5543 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.496, allocations: 1.094 kB / 0.5543 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.497, allocations: 0.6104 MB / 0.5549 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.4977, allocations: 107.4 kB / 0.555 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.4997, allocations: 1.072 MB / 0.556 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.5, allocations: 228 kB / 0.5563 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.5002, allocations: 70.14 kB / 0.5563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5002, allocations: 0 / 0.5563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of Templates: time 0.01842/0.5186, allocations: 12.35 MB / 0.5684 GB, free: 6.867 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: 9.437830293958541] Failed to read output from testmodel.py, exit status != 0: 0.5276768659823574 0.551379178 0.11851067599999994 Calling exit ...