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.001208/0.001208, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001435/0.001435, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.456/1.456, 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.1518/0.1518, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002055/0.002055, allocations: 71.89 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3878, allocations: 59.86 MB / 0.5197 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004977/0.3928, allocations: 3.212 MB / 0.5229 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005919/0.3987, allocations: 4.246 MB / 0.527 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.3993, allocations: 12.56 kB / 0.527 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.3997, allocations: 101.5 kB / 0.5271 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.4011, allocations: 446.8 kB / 0.5276 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.4027, allocations: 0.5359 MB / 0.5281 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008699/0.4036, allocations: 0.5814 MB / 0.5286 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.4041, allocations: 298.4 kB / 0.5289 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.4044, allocations: 296.5 kB / 0.5292 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.4049, allocations: 305.9 kB / 0.5295 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/0.405, allocations: 56.41 kB / 0.5296 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.4065, allocations: 466.9 kB / 0.53 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.4067, allocations: 118.5 kB / 0.5301 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.4069, allocations: 237 kB / 0.5303 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.409, allocations: 1.078 MB / 0.5314 GB, free: 2.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.409, allocations: 0 / 0.5314 GB, free: 2.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4091, allocations: 1.672 kB / 0.5314 GB, free: 2.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.4091, allocations: 0 / 0.5314 GB, free: 2.668 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.001547/0.4106, allocations: 0.8022 MB / 0.5322 GB, free: 2.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4107, allocations: 9.469 kB / 0.5322 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.4111, allocations: 94.09 kB / 0.5323 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.4117, allocations: 310.5 kB / 0.5326 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.4117, allocations: 40.72 kB / 0.5326 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4119, allocations: 47.38 kB / 0.5327 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.4127, allocations: 452.9 kB / 0.5331 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4127, allocations: 2.094 kB / 0.5331 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.4128, allocations: 18.91 kB / 0.5331 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4128, allocations: 10.94 kB / 0.5331 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.4137, allocations: 0.5084 MB / 0.5336 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.416, allocations: 1.145 MB / 0.5347 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.4168, allocations: 340.8 kB / 0.5351 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.4169, allocations: 106.8 kB / 0.5352 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/0.419, allocations: 0.8627 MB / 0.536 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.419, allocations: 44.16 kB / 0.536 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.419, allocations: 0 / 0.536 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01674/0.4357, allocations: 2.106 MB / 0.5381 GB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.4358, allocations: 59.98 kB / 0.5382 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.4363, allocations: 276.2 kB / 0.5384 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.4363, allocations: 31.61 kB / 0.5385 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.4366, allocations: 287.8 kB / 0.5387 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.4367, allocations: 114.3 kB / 0.5388 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.4369, allocations: 84.28 kB / 0.5389 GB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4371, allocations: 344.1 kB / 0.5392 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.4374, allocations: 136 kB / 0.5394 GB, free: 14.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.4378, allocations: 260.6 kB / 0.5396 GB, free: 14.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.4385, allocations: 423.9 kB / 0.54 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4385, allocations: 1.688 kB / 0.54 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004776/0.4433, allocations: 0.8163 MB / 0.5408 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4433, allocations: 6.344 kB / 0.5408 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.4433, allocations: 8.969 kB / 0.5408 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004048/0.4474, allocations: 411.6 kB / 0.5412 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.4477, allocations: 79.53 kB / 0.5413 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/0.455, allocations: 3.705 MB / 0.5449 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.4555, allocations: 23.91 kB / 0.545 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.4556, allocations: 19.78 kB / 0.545 GB, free: 10.4 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.0003542/0.4559, allocations: 163.7 kB / 0.5451 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.456, allocations: 32.33 kB / 0.5452 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.4615, allocations: 0.8221 MB / 0.546 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4616, allocations: 6.781 kB / 0.546 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4616, allocations: 1.25 kB / 0.546 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.4616, allocations: 7.188 kB / 0.546 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4626, allocations: 492.6 kB / 0.5464 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4626, allocations: 2.312 kB / 0.5464 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.4628, allocations: 53.77 kB / 0.5465 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005291/0.4681, allocations: 494.3 kB / 0.547 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.4682, allocations: 14.86 kB / 0.547 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008394/0.4766, allocations: 4.884 MB / 0.5518 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4766, allocations: 2.438 kB / 0.5518 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.4826, allocations: 1.113 MB / 0.5528 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.4828, allocations: 35.72 kB / 0.5529 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.4829, allocations: 8.219 kB / 0.5529 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.4832, allocations: 12.66 kB / 0.5529 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4834, allocations: 44.48 kB / 0.5529 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.4834, allocations: 20.67 kB / 0.553 GB, free: 4.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.4837, allocations: 189.5 kB / 0.5531 GB, free: 3.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4837, allocations: 4.062 kB / 0.5531 GB, free: 3.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001124/0.4848, allocations: 239.8 kB / 0.5534 GB, free: 3.941 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.000634/0.4854, allocations: 282.8 kB / 0.5536 GB, free: 3.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.4869, allocations: 0.6662 MB / 0.5543 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4869, allocations: 0 / 0.5543 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.488, allocations: 0.6033 MB / 0.5549 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.4887, allocations: 112.2 kB / 0.555 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.4907, allocations: 1.045 MB / 0.556 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.491, allocations: 223.8 kB / 0.5562 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.4913, allocations: 70.08 kB / 0.5563 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.4914, allocations: 60.11 kB / 0.5563 GB, free: 1.848 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4914, allocations: 0 / 0.5563 GB, free: 1.848 MB / 398.1 MB Notification: Performance of Templates: time 0.02262/0.514, allocations: 12.42 MB / 0.5685 GB, free: 6.816 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.396498395988601] Failed to read output from testmodel.py, exit status != 0: 0.523644945002161 0.537919628 0.12568084100000002 Calling exit ...