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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 172.3 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4706/0.4706, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 348.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007564/0.0007565, allocations: 99.64 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004906, allocations: 19.98 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3136, allocations: 71.01 MB / 0.5594 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8682/1.182, allocations: 384.6 MB / 0.9351 GB, free: 232.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.182, allocations: 95.95 kB / 0.9351 GB, free: 232.5 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Examples/Carnot_TEva.mo:18:3-32:70:writable] Error: Variable chi: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_TEva$chi: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 1.793/2.975, allocations: 0.6464 GB / 1.582 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/2.975, allocations: 0 / 1.582 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000162/2.975, allocations: 31.98 kB / 1.582 GB, free: 59.12 MB / 0.6042 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.00381/2.979, allocations: 1.699 MB / 1.583 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/2.979, allocations: 12.03 kB / 1.583 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/2.981, allocations: 442.9 kB / 1.584 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/2.984, allocations: 1.359 MB / 1.585 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/2.984, allocations: 130.7 kB / 1.585 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/2.985, allocations: 84.12 kB / 1.585 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/2.986, allocations: 0.9982 MB / 1.586 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/2.986, allocations: 4 kB / 1.586 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/2.987, allocations: 35.94 kB / 1.586 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/2.987, allocations: 20 kB / 1.586 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/2.988, allocations: 0.89 MB / 1.587 GB, free: 53.3 MB / 0.6042 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.005121/2.994, allocations: 4.552 MB / 1.592 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/2.996, allocations: 0.8874 MB / 1.592 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/2.997, allocations: 318.7 kB / 1.593 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/2.997, allocations: 0.9106 MB / 1.594 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/2.997, allocations: 34.94 kB / 1.594 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 1.854e-06/2.997, allocations: 0 / 1.594 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46): time 0.006976/3.004, allocations: 2.11 MB / 1.596 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/3.004, allocations: 59.16 kB / 1.596 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/3.006, allocations: 1.056 MB / 1.597 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/3.006, allocations: 37.7 kB / 1.597 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/3.006, allocations: 0.5313 MB / 1.597 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/3.006, allocations: 161.7 kB / 1.598 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/3.006, allocations: 12 kB / 1.598 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/3.006, allocations: 322 kB / 1.598 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/3.007, allocations: 312.9 kB / 1.598 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008287/3.008, allocations: 0.5618 MB / 1.599 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/3.009, allocations: 0.7076 MB / 1.599 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/3.009, allocations: 4 kB / 1.599 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002196/3.012, allocations: 1.031 MB / 1.6 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/3.012, allocations: 216.8 kB / 1.601 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/3.012, allocations: 7.938 kB / 1.601 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/3.013, allocations: 369.9 kB / 1.601 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/3.013, allocations: 127.8 kB / 1.601 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/3.015, allocations: 0.9742 MB / 1.602 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/3.016, allocations: 187.3 kB / 1.602 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/3.016, allocations: 35.97 kB / 1.602 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/3.016, allocations: 4 kB / 1.602 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002005/3.018, allocations: 0.8942 MB / 1.603 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/3.018, allocations: 4 kB / 1.603 GB, free: 36.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/3.019, allocations: 362.6 kB / 1.603 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/3.019, allocations: 127.8 kB / 1.604 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/3.021, allocations: 0.9674 MB / 1.605 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/3.022, allocations: 159.4 kB / 1.605 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/3.022, allocations: 43.92 kB / 1.605 GB, free: 34.41 MB / 0.6042 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005047/3.022, allocations: 360.9 kB / 1.605 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/3.022, allocations: 114.6 kB / 1.605 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/3.026, allocations: 1.19 MB / 1.606 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/3.026, allocations: 7.984 kB / 1.606 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/3.026, allocations: 3.938 kB / 1.606 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/3.026, allocations: 4 kB / 1.606 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/3.03, allocations: 2.238 MB / 1.609 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/3.03, allocations: 14.06 kB / 1.609 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/3.031, allocations: 71.94 kB / 1.609 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/3.032, allocations: 360.2 kB / 1.609 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/3.032, allocations: 12 kB / 1.609 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/3.033, allocations: 0.9999 MB / 1.61 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/3.033, allocations: 7.969 kB / 1.61 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/3.037, allocations: 1.435 MB / 1.611 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/3.037, allocations: 279.4 kB / 1.612 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/3.037, allocations: 19.94 kB / 1.612 GB, free: 27.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/3.038, allocations: 111.8 kB / 1.612 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/3.038, allocations: 35.89 kB / 1.612 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/3.039, allocations: 23.98 kB / 1.612 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001029/3.04, allocations: 0.7393 MB / 1.613 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/3.04, allocations: 0 / 1.613 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001686/3.041, allocations: 0.6043 MB / 1.613 GB, free: 25.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/3.042, allocations: 0.6372 MB / 1.614 GB, free: 25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002934/3.045, allocations: 1.196 MB / 1.615 GB, free: 23.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/3.045, allocations: 0 / 1.615 GB, free: 23.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008505/3.046, allocations: 395.4 kB / 1.615 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/3.049, allocations: 0.5235 MB / 1.616 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/3.053, allocations: 2.494 MB / 1.618 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/3.053, allocations: 1.066 MB / 1.619 GB, free: 19.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009397/3.054, allocations: 212.3 kB / 1.619 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/3.055, allocations: 83.41 kB / 1.62 GB, free: 19 MB / 0.6042 GB Notification: Performance of SimCode: time 4.4e-07/3.055, allocations: 0 / 1.62 GB, free: 19 MB / 0.6042 GB Notification: Performance of Templates: time 0.3696/3.424, allocations: 27.4 MB / 1.646 GB, free: 77.2 MB / 0.6042 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)