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.001465/0.001465, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001873/0.001873, allocations: 207.8 kB / 22.24 MB, free: 4.859 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.488/1.488, allocations: 230.6 MB / 256 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.1519/0.1519, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.002606/0.002606, allocations: 63.89 kB / 471.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4103, allocations: 59.85 MB / 0.519 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004682/0.415, allocations: 3.215 MB / 0.5221 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.4201, allocations: 4.246 MB / 0.5263 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.4204, allocations: 7.812 kB / 0.5263 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.4209, allocations: 106.9 kB / 0.5264 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.4219, allocations: 446.5 kB / 0.5268 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.423, allocations: 0.5365 MB / 0.5274 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006841/0.4237, allocations: 0.585 MB / 0.5279 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.4242, allocations: 294.6 kB / 0.5282 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.4245, allocations: 293.8 kB / 0.5285 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.425, allocations: 271.6 kB / 0.5287 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.4251, allocations: 52.28 kB / 0.5288 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.4261, allocations: 454.9 kB / 0.5292 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4263, allocations: 120.2 kB / 0.5293 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.4265, allocations: 235.9 kB / 0.5296 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.4281, allocations: 1.079 MB / 0.5306 GB, free: 2.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4281, allocations: 8 kB / 0.5306 GB, free: 2.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4281, allocations: 0 / 0.5306 GB, free: 2.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4281, allocations: 1.438 kB / 0.5306 GB, free: 2.652 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.001388/0.4295, allocations: 0.7979 MB / 0.5314 GB, free: 2.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4295, allocations: 10.16 kB / 0.5314 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.4299, allocations: 90.12 kB / 0.5315 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.4305, allocations: 305.2 kB / 0.5318 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.4305, allocations: 37.72 kB / 0.5318 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.4306, allocations: 47.22 kB / 0.5319 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.4313, allocations: 462.4 kB / 0.5323 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4314, allocations: 0 / 0.5323 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.4314, allocations: 16.41 kB / 0.5323 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.4314, allocations: 10.53 kB / 0.5323 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.4322, allocations: 0.504 MB / 0.5328 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.4344, allocations: 1.138 MB / 0.5339 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.4352, allocations: 344.2 kB / 0.5343 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4354, allocations: 106.7 kB / 0.5344 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.4371, allocations: 0.8682 MB / 0.5352 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.4372, allocations: 37.25 kB / 0.5353 GB, free: 100 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.4372, allocations: 0 / 0.5353 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01346/0.4506, allocations: 2.111 MB / 0.5373 GB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.4507, allocations: 56.91 kB / 0.5374 GB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.451, allocations: 280.1 kB / 0.5376 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.4511, allocations: 30.89 kB / 0.5377 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.4513, allocations: 282.8 kB / 0.5379 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4514, allocations: 118.8 kB / 0.5381 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.4516, allocations: 80.55 kB / 0.5381 GB, free: 14.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.4518, allocations: 343.9 kB / 0.5385 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.4521, allocations: 133.3 kB / 0.5386 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.4524, allocations: 263.6 kB / 0.5388 GB, free: 14.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.4532, allocations: 428.7 kB / 0.5392 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4532, allocations: 1.281 kB / 0.5392 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00385/0.4571, allocations: 0.8113 MB / 0.54 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4571, allocations: 7.5 kB / 0.54 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4571, allocations: 9.078 kB / 0.5401 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/0.4604, allocations: 424.4 kB / 0.5405 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.4607, allocations: 77.61 kB / 0.5405 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006514/0.4672, allocations: 3.695 MB / 0.5441 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.4676, allocations: 20.84 kB / 0.5442 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.4676, allocations: 22.84 kB / 0.5442 GB, free: 10.41 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.0002912/0.4679, allocations: 165.1 kB / 0.5443 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.468, allocations: 35.12 kB / 0.5444 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/0.4727, allocations: 0.8286 MB / 0.5452 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4727, allocations: 4.688 kB / 0.5452 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.4727, allocations: 1.469 kB / 0.5452 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4727, allocations: 5.297 kB / 0.5452 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.4735, allocations: 498.3 kB / 0.5457 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4735, allocations: 2.625 kB / 0.5457 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4736, allocations: 53.75 kB / 0.5457 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004256/0.4779, allocations: 495.6 kB / 0.5462 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.4779, allocations: 18.42 kB / 0.5462 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007273/0.4852, allocations: 4.869 MB / 0.551 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.4852, allocations: 10.25 kB / 0.551 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/0.4901, allocations: 1.106 MB / 0.5521 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4902, allocations: 42.25 kB / 0.5521 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.4902, allocations: 8.281 kB / 0.5521 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.4905, allocations: 13.66 kB / 0.5521 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4906, allocations: 51.62 kB / 0.5522 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.4907, allocations: 12.25 kB / 0.5522 GB, free: 4.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.4909, allocations: 186.9 kB / 0.5524 GB, free: 4 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4909, allocations: 0 / 0.5524 GB, free: 4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009168/0.4918, allocations: 239 kB / 0.5526 GB, free: 3.949 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.0005237/0.4923, allocations: 297.2 kB / 0.5529 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.4936, allocations: 0.666 MB / 0.5535 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4936, allocations: 0 / 0.5535 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009707/0.4946, allocations: 0.6077 MB / 0.5541 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.4952, allocations: 103.4 kB / 0.5542 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.4969, allocations: 1.03 MB / 0.5552 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4971, allocations: 227.6 kB / 0.5554 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.4973, allocations: 65.66 kB / 0.5555 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4974, allocations: 56.59 kB / 0.5556 GB, free: 1.867 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4974, allocations: 0 / 0.5556 GB, free: 1.867 MB / 398.1 MB Notification: Performance of Templates: time 0.01975/0.5172, allocations: 12.29 MB / 0.5676 GB, free: 7.012 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: 5.529425149783492] Failed to read output from testmodel.py, exit status != 0: 0.5269117411226034 0.5399033449999999 0.10879444999999995 Calling exit ...