Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001633/0.001633, allocations: 112.6 kB / 16.37 MB, free: 6 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.001942/0.001942, allocations: 196 kB / 17.31 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8045/0.8045, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3729, allocations: 80.19 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05475/0.4277, allocations: 61.16 MB / 0.6412 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.4468, allocations: 11.97 MB / 0.6529 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.4495, allocations: 55.69 kB / 0.653 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.4517, allocations: 0.683 MB / 0.6536 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00622/0.458, allocations: 1.959 MB / 0.6555 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.4614, allocations: 1.217 MB / 0.6567 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004786/0.4662, allocations: 3.079 MB / 0.6597 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.4678, allocations: 1.102 MB / 0.6608 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.4713, allocations: 1.332 MB / 0.6621 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.4729, allocations: 0.8984 MB / 0.663 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.4731, allocations: 112 kB / 0.6631 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.4763, allocations: 1.439 MB / 0.6645 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.4766, allocations: 298.8 kB / 0.6648 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008733/0.4775, allocations: 0.688 MB / 0.6654 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00339/0.4809, allocations: 2.298 MB / 0.6677 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4809, allocations: 4 kB / 0.6677 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4809, allocations: 0 / 0.6677 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.481, allocations: 0 / 0.6677 GB, free: 5.766 MB / 0.4981 GB 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.003039/0.484, allocations: 1.734 MB / 0.6694 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4841, allocations: 11.97 kB / 0.6694 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.4862, allocations: 410.8 kB / 0.6698 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.4885, allocations: 1.155 MB / 0.6709 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.4886, allocations: 66 kB / 0.671 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4887, allocations: 80 kB / 0.6711 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.4907, allocations: 1.001 MB / 0.672 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4907, allocations: 0 / 0.672 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.4908, allocations: 32 kB / 0.6721 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.4908, allocations: 24 kB / 0.6721 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.4929, allocations: 0.8469 MB / 0.6729 GB, free: 240 kB / 0.4981 GB 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.007145/0.5001, allocations: 5.215 MB / 0.678 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.5033, allocations: 0.7852 MB / 0.6788 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.504, allocations: 292.7 kB / 0.6791 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/0.5049, allocations: 0.9102 MB / 0.6799 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.5049, allocations: 42.56 kB / 0.68 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.799e-06/0.5049, allocations: 0 / 0.68 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006564/0.5115, allocations: 1.696 MB / 0.6816 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.5116, allocations: 59.34 kB / 0.6817 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.5133, allocations: 1.08 MB / 0.6828 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.5134, allocations: 37.7 kB / 0.6828 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.5138, allocations: 0.5272 MB / 0.6833 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.5139, allocations: 157.8 kB / 0.6835 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.5142, allocations: 134.2 kB / 0.6836 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5143, allocations: 330 kB / 0.6839 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.5151, allocations: 307.3 kB / 0.6842 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5162, allocations: 0.529 MB / 0.6847 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.5178, allocations: 0.7133 MB / 0.6854 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5178, allocations: 0 / 0.6854 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00262/0.5204, allocations: 1.008 MB / 0.6864 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5205, allocations: 8 kB / 0.6864 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.5205, allocations: 7.938 kB / 0.6864 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.5217, allocations: 312.7 kB / 0.6867 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.5222, allocations: 131.8 kB / 0.6868 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.5236, allocations: 0.8996 MB / 0.6877 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.5248, allocations: 147.2 kB / 0.6878 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.5249, allocations: 35.98 kB / 0.6879 GB, free: 12 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001163/0.5261, allocations: 0.5012 MB / 0.6884 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.5271, allocations: 0.529 MB / 0.6889 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00159/0.5287, allocations: 0.7024 MB / 0.6896 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5e-06/0.5287, allocations: 0 / 0.6896 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002542/0.5313, allocations: 1.016 MB / 0.6906 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5313, allocations: 4 kB / 0.6906 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5313, allocations: 8 kB / 0.6906 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.5324, allocations: 298.2 kB / 0.6909 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.5329, allocations: 131.8 kB / 0.691 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.5342, allocations: 0.8937 MB / 0.6919 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.5354, allocations: 131.5 kB / 0.692 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.5355, allocations: 35.98 kB / 0.692 GB, free: 11.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.000286/0.5358, allocations: 221.4 kB / 0.6922 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.536, allocations: 110.6 kB / 0.6923 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.5384, allocations: 0.9184 MB / 0.6932 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.5384, allocations: 8 kB / 0.6932 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5384, allocations: 0 / 0.6932 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.5385, allocations: 3.984 kB / 0.6932 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.5434, allocations: 2.138 MB / 0.6953 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5434, allocations: 4 kB / 0.6953 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.5437, allocations: 59.89 kB / 0.6954 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000919/0.5446, allocations: 295.6 kB / 0.6957 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.5446, allocations: 15.98 kB / 0.6957 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.5461, allocations: 0.9308 MB / 0.6966 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5461, allocations: 0 / 0.6966 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.5495, allocations: 1.148 MB / 0.6977 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.5501, allocations: 267.5 kB / 0.698 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.5502, allocations: 16 kB / 0.698 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.551, allocations: 67.92 kB / 0.6981 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.5511, allocations: 43.83 kB / 0.6981 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.5512, allocations: 23.98 kB / 0.6981 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001237/0.5524, allocations: 0.7512 MB / 0.6989 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5524, allocations: 4 kB / 0.6989 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001659/0.5541, allocations: 0.5692 MB / 0.6994 GB, free: 3.785 MB / 0.5294 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.000823/0.5549, allocations: 372.2 kB / 0.6998 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003007/0.5579, allocations: 1.12 MB / 0.7009 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5579, allocations: 4.125 kB / 0.7009 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.5588, allocations: 346.7 kB / 0.7012 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.561, allocations: 0.5211 MB / 0.7017 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.5661, allocations: 2.011 MB / 0.7037 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.5668, allocations: 1.073 MB / 0.7047 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000873/0.5676, allocations: 218.7 kB / 0.7049 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.5679, allocations: 75.42 kB / 0.705 GB, free: 14 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.5679, allocations: 4 kB / 0.705 GB, free: 14 MB / 0.545 GB Notification: Performance of Templates: time 0.04391/0.6118, allocations: 24.83 MB / 0.7293 GB, free: 5.461 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)