Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008494, allocations: 89.12 kB / 16.66 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009349/0.0009351, allocations: 177.6 kB / 17.58 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.3 MB / 241.6 MB, free: 72 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 496.5 MB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4266, allocations: 77.52 MB / 0.5606 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05488/0.4815, allocations: 59.68 MB / 0.6188 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0179/0.4995, allocations: 11.91 MB / 0.6305 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.5021, allocations: 55.62 kB / 0.6305 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.5043, allocations: 0.5477 MB / 0.6311 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.5104, allocations: 1.804 MB / 0.6328 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.5137, allocations: 1.072 MB / 0.6339 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005192/0.5189, allocations: 3.906 MB / 0.6377 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.5208, allocations: 0.8922 MB / 0.6386 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.5236, allocations: 1.124 MB / 0.6397 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5253, allocations: 0.8553 MB / 0.6405 GB, free: 1.277 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.5256, allocations: 44 kB / 0.6405 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.5287, allocations: 1.333 MB / 0.6418 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003992/0.5291, allocations: 206.9 kB / 0.642 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.5303, allocations: 0.635 MB / 0.6427 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.5329, allocations: 1.695 MB / 0.6443 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5329, allocations: 0 / 0.6443 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.349e-06/0.5329, allocations: 0 / 0.6443 GB, free: 13.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.631e-05/0.533, allocations: 3.938 kB / 0.6443 GB, free: 13.35 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003307/0.5363, allocations: 1.485 MB / 0.6458 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5364, allocations: 11.97 kB / 0.6458 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.5388, allocations: 470.8 kB / 0.6462 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.5414, allocations: 1.132 MB / 0.6473 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003975/0.5418, allocations: 133.9 kB / 0.6475 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.542, allocations: 80 kB / 0.6475 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.5444, allocations: 1.001 MB / 0.6485 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5444, allocations: 0 / 0.6485 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.5445, allocations: 32 kB / 0.6485 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5445, allocations: 20 kB / 0.6486 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.5471, allocations: 0.9133 MB / 0.6495 GB, free: 7.926 MB / 494.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.007474/0.5546, allocations: 4.902 MB / 0.6542 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/0.5583, allocations: 0.8945 MB / 0.6551 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/0.5592, allocations: 322.7 kB / 0.6554 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.5598, allocations: 0.8947 MB / 0.6563 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.5599, allocations: 42.5 kB / 0.6563 GB, free: 304 kB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.5599, allocations: 0 / 0.6563 GB, free: 304 kB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.008107/0.568, allocations: 1.961 MB / 0.6583 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5681, allocations: 59.34 kB / 0.6583 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.57, allocations: 1.055 MB / 0.6593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.5701, allocations: 37.7 kB / 0.6594 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.5706, allocations: 0.5235 MB / 0.6599 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.5708, allocations: 153.8 kB / 0.66 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.5709, allocations: 45.7 kB / 0.6601 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.571, allocations: 329.9 kB / 0.6604 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009816/0.572, allocations: 324.9 kB / 0.6607 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.5731, allocations: 0.5297 MB / 0.6612 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.5749, allocations: 0.7279 MB / 0.6619 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5749, allocations: 0 / 0.6619 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003952/0.5789, allocations: 1.227 MB / 0.6631 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.5791, allocations: 212.9 kB / 0.6633 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5791, allocations: 8 kB / 0.6633 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.5805, allocations: 332.6 kB / 0.6637 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.581, allocations: 123.8 kB / 0.6638 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5827, allocations: 0.9413 MB / 0.6647 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.5841, allocations: 195.2 kB / 0.6649 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.5842, allocations: 31.98 kB / 0.6649 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.5842, allocations: 4 kB / 0.6649 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003633/0.5879, allocations: 1.066 MB / 0.666 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.5879, allocations: 7.938 kB / 0.666 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.5891, allocations: 325.1 kB / 0.6663 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.5897, allocations: 127.8 kB / 0.6664 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.5912, allocations: 0.9348 MB / 0.6673 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.5925, allocations: 163.9 kB / 0.6675 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.5926, allocations: 31.98 kB / 0.6675 GB, free: 4.516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000597/0.5932, allocations: 355.8 kB / 0.6678 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.5935, allocations: 110.6 kB / 0.6679 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.5962, allocations: 0.9781 MB / 0.6689 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5962, allocations: 7.984 kB / 0.6689 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5963, allocations: 0 / 0.6689 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5963, allocations: 8 kB / 0.6689 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005609/0.6019, allocations: 2.264 MB / 0.6711 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.6019, allocations: 7.938 kB / 0.6711 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.6023, allocations: 76.11 kB / 0.6712 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.6034, allocations: 324.5 kB / 0.6715 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.6034, allocations: 19.98 kB / 0.6715 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.605, allocations: 0.9759 MB / 0.6725 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6051, allocations: 4 kB / 0.6725 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.609, allocations: 1.245 MB / 0.6737 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.6096, allocations: 291.4 kB / 0.674 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.6098, allocations: 8 kB / 0.674 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6109, allocations: 111.9 kB / 0.6741 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.611, allocations: 35.89 kB / 0.6741 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/0.611, allocations: 23.98 kB / 0.6741 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001262/0.6123, allocations: 0.743 MB / 0.6749 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.6123, allocations: 0 / 0.6749 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001671/0.614, allocations: 0.5613 MB / 0.6754 GB, free: 12.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008658/0.6149, allocations: 388.3 kB / 0.6758 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.6182, allocations: 1.165 MB / 0.6769 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6183, allocations: 0 / 0.6769 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000974/0.6192, allocations: 367.1 kB / 0.6773 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/0.6224, allocations: 0.4998 MB / 0.6778 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/0.6289, allocations: 2.577 MB / 0.6803 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/0.6297, allocations: 1.058 MB / 0.6813 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.6301, allocations: 87.42 kB / 0.6814 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.6301, allocations: 0 / 0.6814 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of Templates: time 0.0342/0.6643, allocations: 23.62 MB / 0.7045 GB, free: 14.52 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)