Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.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.001278/0.001278, 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.001437/0.001437, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.785 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.1395/0.1395, allocations: 23.89 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.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.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.002438/0.002438, allocations: 71.89 kB / 471.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3533, allocations: 59.86 MB / 0.519 GB, free: 9.844 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.06917/0.4224, allocations: 25.82 MB / 0.5442 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.4338, allocations: 7.242 MB / 0.5513 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.4347, allocations: 19.88 kB / 0.5513 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.4374, allocations: 0.7202 MB / 0.552 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.4392, allocations: 0.549 MB / 0.5526 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.4414, allocations: 0.7377 MB / 0.5533 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.4433, allocations: 1.134 MB / 0.5544 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.4437, allocations: 156 kB / 0.5545 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.4442, allocations: 376.9 kB / 0.5549 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.4448, allocations: 375.3 kB / 0.5552 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.4449, allocations: 84 kB / 0.5553 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.4473, allocations: 0.9553 MB / 0.5563 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.4476, allocations: 267.6 kB / 0.5565 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005737/0.4482, allocations: 416.4 kB / 0.5569 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.452, allocations: 2.32 MB / 0.5592 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.452, allocations: 4 kB / 0.5592 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.452, allocations: 0 / 0.5592 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.4521, allocations: 0 / 0.5592 GB, free: 480 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003102/0.4552, allocations: 1.397 MB / 0.5605 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4552, allocations: 8.031 kB / 0.5606 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.4559, allocations: 217.8 kB / 0.5608 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4569, allocations: 0.5423 MB / 0.5613 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.4571, allocations: 166 kB / 0.5614 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.4572, allocations: 92.25 kB / 0.5615 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/0.4616, allocations: 3.8 MB / 0.5652 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.4616, allocations: 0 / 0.5652 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.4617, allocations: 32 kB / 0.5653 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.4619, allocations: 142 kB / 0.5654 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007105/0.469, allocations: 6.756 MB / 0.572 GB, free: 3.434 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.4822, allocations: 8.716 MB / 0.5805 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.4848, allocations: 1.744 MB / 0.5822 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.4866, allocations: 1.344 MB / 0.5835 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/0.4884, allocations: 0.6376 MB / 0.5842 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4884, allocations: 30.56 kB / 0.5842 GB, free: 6.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.815e-06/0.4884, allocations: 3.938 kB / 0.5842 GB, free: 6.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05468/0.5431, allocations: 15.26 MB / 0.5991 GB, free: 7.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07232/0.6154, allocations: 21.94 MB / 0.6205 GB, free: 1.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/0.6164, allocations: 0.6211 MB / 0.6211 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002774/0.6166, allocations: 37.7 kB / 0.6212 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.6171, allocations: 0.5431 MB / 0.6217 GB, free: 132 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/0.6176, allocations: 246 kB / 0.6219 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.6184, allocations: 270.5 kB / 0.6222 GB, free: 15.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.6186, allocations: 382.8 kB / 0.6225 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/0.6219, allocations: 2.43 MB / 0.6249 GB, free: 12.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/0.6254, allocations: 2.55 MB / 0.6274 GB, free: 10.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005116/0.6306, allocations: 3.345 MB / 0.6307 GB, free: 6.805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.6306, allocations: 7.938 kB / 0.6307 GB, free: 6.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01666/0.6472, allocations: 6.776 MB / 0.6373 GB, free: 0 / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.6473, allocations: 8.047 kB / 0.6373 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.6473, allocations: 7.938 kB / 0.6373 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/0.6613, allocations: 3.437 MB / 0.6407 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.6635, allocations: 319.6 kB / 0.641 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.6857, allocations: 13.28 MB / 0.654 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.6873, allocations: 87.92 kB / 0.654 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/0.6878, allocations: 175.9 kB / 0.6542 GB, free: 14.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0009303/0.6887, allocations: 333.6 kB / 0.6545 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/0.6892, allocations: 71.53 kB / 0.6546 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.7029, allocations: 4.422 MB / 0.6589 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01203/0.7149, allocations: 3.677 MB / 0.6625 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.7149, allocations: 7.938 kB / 0.6625 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.7149, allocations: 3.984 kB / 0.6625 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.733, allocations: 6.858 MB / 0.6692 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.733, allocations: 4 kB / 0.6692 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.7345, allocations: 171.7 kB / 0.6694 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02896/0.7635, allocations: 3.708 MB / 0.673 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002725/0.7638, allocations: 52.14 kB / 0.673 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.7778, allocations: 6.304 MB / 0.6792 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05957/0.8373, allocations: 14.24 MB / 0.6931 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.8524, allocations: 5.686 MB / 0.6987 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.8527, allocations: 75.52 kB / 0.6987 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/0.853, allocations: 23.95 kB / 0.6987 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.8545, allocations: 59.91 kB / 0.6988 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/0.8549, allocations: 96.36 kB / 0.6989 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/0.8551, allocations: 79.94 kB / 0.699 GB, free: 12 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001177/0.8563, allocations: 0.6981 MB / 0.6997 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8563, allocations: 3.938 kB / 0.6997 GB, free: 15.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002448/0.8587, allocations: 0.5739 MB / 0.7002 GB, free: 14.74 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.8599, allocations: 358.6 kB / 0.7006 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007085/0.867, allocations: 3.674 MB / 0.7042 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.867, allocations: 0 / 0.7042 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003695/0.8707, allocations: 1.453 MB / 0.7056 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.872, allocations: 205.9 kB / 0.7058 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/0.8784, allocations: 3.033 MB / 0.7087 GB, free: 5.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.8795, allocations: 0.5349 MB / 0.7093 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001429/0.8809, allocations: 253.6 kB / 0.7095 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/0.8817, allocations: 103.3 kB / 0.7096 GB, free: 4.988 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/0.8817, allocations: 0 / 0.7096 GB, free: 4.988 MB / 0.545 GB Notification: Performance of Templates: time 0.3121/1.194, allocations: 51.27 MB / 0.7597 GB, free: 175.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.256516512483358] Failed to read output from testmodel.py, exit status != 0: 1.2033206447958946 1.211565504 0.7573535450000001 Calling exit ...