Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001275/0.001275, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001497/0.001497, allocations: 208.2 kB / 22.99 MB, free: 4.953 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1524/0.1524, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002023/0.002023, allocations: 63.91 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 59.88 MB / 0.5198 GB, free: 9.824 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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 master/Boundaries.mo:1350:7-1350: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.07419/0.4643, allocations: 25.75 MB / 0.545 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.4774, allocations: 7.247 MB / 0.552 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.4787, allocations: 23.88 kB / 0.5521 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.4814, allocations: 0.6657 MB / 0.5527 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.4839, allocations: 0.5892 MB / 0.5533 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.4865, allocations: 0.7389 MB / 0.554 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.489, allocations: 1.138 MB / 0.5551 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.4894, allocations: 156.5 kB / 0.5553 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007092/0.4901, allocations: 390.3 kB / 0.5556 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009888/0.4911, allocations: 0.5207 MB / 0.5562 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4912, allocations: 76 kB / 0.5562 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.4943, allocations: 0.9014 MB / 0.5571 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.4946, allocations: 258.8 kB / 0.5574 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005203/0.4951, allocations: 404.6 kB / 0.5577 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006055/0.5012, allocations: 2.211 MB / 0.5599 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.5012, allocations: 4 kB / 0.5599 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5012, allocations: 0 / 0.5599 GB, free: 0.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.5012, allocations: 0 / 0.5599 GB, free: 0.5 MB / 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.003013/0.5042, allocations: 1.366 MB / 0.5612 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5043, allocations: 12.03 kB / 0.5612 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.5048, allocations: 194.4 kB / 0.5614 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.5058, allocations: 0.4918 MB / 0.5619 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.506, allocations: 129.2 kB / 0.562 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.5061, allocations: 84.38 kB / 0.5621 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.5105, allocations: 3.082 MB / 0.5651 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.5105, allocations: 3.984 kB / 0.5651 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.5106, allocations: 39.98 kB / 0.5652 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.5107, allocations: 130 kB / 0.5653 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006702/0.5174, allocations: 5.858 MB / 0.571 GB, free: 5.234 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.007674/0.5251, allocations: 4.469 MB / 0.5754 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/0.5259, allocations: 398.7 kB / 0.5758 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.5263, allocations: 240.8 kB / 0.576 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003963/0.5303, allocations: 2.028 MB / 0.578 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.5303, allocations: 42.5 kB / 0.578 GB, free: 13.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.324e-06/0.5303, allocations: 4 kB / 0.578 GB, free: 13.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01546/0.5458, allocations: 3.873 MB / 0.5818 GB, free: 9.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5458, allocations: 63.39 kB / 0.5819 GB, free: 9.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/0.5468, allocations: 0.719 MB / 0.5826 GB, free: 9.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.5469, allocations: 29.7 kB / 0.5826 GB, free: 9.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.5474, allocations: 0.6395 MB / 0.5832 GB, free: 8.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.5476, allocations: 166.6 kB / 0.5834 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.5479, allocations: 226.5 kB / 0.5836 GB, free: 8.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.5481, allocations: 390.7 kB / 0.584 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.5486, allocations: 285.9 kB / 0.5842 GB, free: 7.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/0.5494, allocations: 0.6496 MB / 0.5849 GB, free: 6.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.5508, allocations: 1.003 MB / 0.5858 GB, free: 5.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5508, allocations: 4 kB / 0.5858 GB, free: 5.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004945/0.5558, allocations: 1.478 MB / 0.5873 GB, free: 3.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.5558, allocations: 11.94 kB / 0.5873 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.5558, allocations: 12 kB / 0.5873 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00438/0.5602, allocations: 0.6464 MB / 0.5879 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.5613, allocations: 263.6 kB / 0.5882 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.565, allocations: 2.826 MB / 0.591 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.5657, allocations: 32.09 kB / 0.591 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.5659, allocations: 127.9 kB / 0.5911 GB, free: 15.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006476/0.5665, allocations: 349.4 kB / 0.5914 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.5667, allocations: 83.42 kB / 0.5915 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/0.5721, allocations: 1.436 MB / 0.5929 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5721, allocations: 4 kB / 0.5929 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5721, allocations: 4 kB / 0.5929 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5721, allocations: 0 / 0.5929 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.5736, allocations: 0.8427 MB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5736, allocations: 4.188 kB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.5743, allocations: 143.8 kB / 0.5939 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004789/0.5791, allocations: 0.6431 MB / 0.5945 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.89e-05/0.5792, allocations: 31.92 kB / 0.5946 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008268/0.5875, allocations: 5.566 MB / 0.6 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5875, allocations: 15.88 kB / 0.6 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005238/0.5927, allocations: 1.501 MB / 0.6015 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.593, allocations: 71.42 kB / 0.6015 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.5931, allocations: 19.94 kB / 0.6016 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.5934, allocations: 12 kB / 0.6016 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.5936, allocations: 76.27 kB / 0.6016 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.5937, allocations: 43.98 kB / 0.6017 GB, free: 4.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007631/0.5945, allocations: 499 kB / 0.6022 GB, free: 4.035 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5945, allocations: 0 / 0.6022 GB, free: 4.035 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001255/0.5957, allocations: 291.7 kB / 0.6024 GB, free: 3.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.substance.amountOfBonds,liquidWater.logm) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,2), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006579/0.5964, allocations: 339 kB / 0.6028 GB, free: 3.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.5985, allocations: 0.9167 MB / 0.6037 GB, free: 2.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5985, allocations: 0 / 0.6037 GB, free: 2.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.6, allocations: 0.737 MB / 0.6044 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.601, allocations: 183.7 kB / 0.6046 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.6051, allocations: 2.238 MB / 0.6067 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.6057, allocations: 0.5101 MB / 0.6072 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.6062, allocations: 139.3 kB / 0.6074 GB, free: 14.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6062, allocations: 0 / 0.6074 GB, free: 14.55 MB / 462.1 MB Notification: Performance of Templates: time 0.04475/0.6509, allocations: 33.03 MB / 0.6396 GB, free: 13.52 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.78629673802061] Failed to read output from testmodel.py, exit status != 0: 0.6604586620233022 0.6760752130000001 0.17166103600000002 Calling exit ...