Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 168.5 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4405/0.4405, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 348.4 MB, free: 5.008 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.0008154/0.0008153, allocations: 95.61 kB / 420.2 MB, free: 9.703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 8 kB / 0.4901 GB, free: 8.062 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3537, allocations: 71.02 MB / 0.5594 GB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.927/1.281, allocations: 387.5 MB / 0.9379 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.281, allocations: 90.19 kB / 0.9379 GB, free: 232.5 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Validation/CarnotVerifyEtaCarnot.mo:52:3-70:69:writable] Error: Variable chi_TEva: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_TEva$chi_TEva: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Validation/CarnotVerifyEtaCarnot.mo:101:3-119:71:writable] Error: Variable chi_y: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_y$chi_y: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 4.105/5.386, allocations: 1.298 GB / 2.236 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/5.386, allocations: 0 / 2.236 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003658/5.387, allocations: 71.3 kB / 2.236 GB, free: 50.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.008258/5.395, allocations: 3.081 MB / 2.239 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/5.395, allocations: 9.25 kB / 2.239 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/5.399, allocations: 0.8939 MB / 2.24 GB, free: 48.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/5.406, allocations: 2.656 MB / 2.243 GB, free: 48.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008892/5.407, allocations: 324 kB / 2.243 GB, free: 48.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005279/5.407, allocations: 165.8 kB / 2.243 GB, free: 48.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/5.412, allocations: 1.978 MB / 2.245 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/5.412, allocations: 0 / 2.245 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/5.413, allocations: 62.97 kB / 2.245 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/5.413, allocations: 37.19 kB / 2.245 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/5.417, allocations: 1.868 MB / 2.247 GB, free: 47.79 MB / 0.6355 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.01266/5.43, allocations: 8.785 MB / 2.256 GB, free: 43.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/5.433, allocations: 1.341 MB / 2.257 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/5.435, allocations: 489.2 kB / 2.257 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000842/5.435, allocations: 1.736 MB / 2.259 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/5.435, allocations: 46.22 kB / 2.259 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 3.206e-06/5.435, allocations: 0 / 2.259 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.0184/5.454, allocations: 4.44 MB / 2.263 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/5.454, allocations: 92.3 kB / 2.263 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004832/5.459, allocations: 2.493 MB / 2.266 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/5.459, allocations: 52.7 kB / 2.266 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000912/5.46, allocations: 1.063 MB / 2.267 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/5.46, allocations: 276.2 kB / 2.267 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/5.46, allocations: 21.28 kB / 2.267 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/5.461, allocations: 337.4 kB / 2.268 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/5.462, allocations: 0.5925 MB / 2.268 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/5.464, allocations: 1.032 MB / 2.269 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/5.467, allocations: 1.274 MB / 2.27 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/5.467, allocations: 3.594 kB / 2.27 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005976/5.473, allocations: 2.14 MB / 2.273 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/5.473, allocations: 11.75 kB / 2.273 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/5.473, allocations: 11.66 kB / 2.273 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/5.476, allocations: 1.06 MB / 2.274 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/5.477, allocations: 236.8 kB / 2.274 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/5.48, allocations: 2.018 MB / 2.276 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/5.483, allocations: 455.8 kB / 2.276 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/5.484, allocations: 66.23 kB / 2.276 GB, free: 37.49 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001235/5.485, allocations: 466.4 kB / 2.277 GB, free: 37.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/5.486, allocations: 247.3 kB / 2.277 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00622/5.492, allocations: 2.082 MB / 2.279 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/5.492, allocations: 11.03 kB / 2.279 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/5.492, allocations: 6.438 kB / 2.279 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/5.492, allocations: 18.8 kB / 2.279 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/5.5, allocations: 3.744 MB / 2.283 GB, free: 36.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/5.501, allocations: 10.59 kB / 2.283 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/5.501, allocations: 94.59 kB / 2.283 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/5.504, allocations: 1.065 MB / 2.284 GB, free: 36.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/5.504, allocations: 26.8 kB / 2.284 GB, free: 36.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/5.507, allocations: 2.031 MB / 2.286 GB, free: 35.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/5.507, allocations: 11.06 kB / 2.286 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/5.513, allocations: 2.083 MB / 2.288 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/5.514, allocations: 0.5126 MB / 2.288 GB, free: 34.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007359/5.515, allocations: 22.47 kB / 2.288 GB, free: 34.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/5.517, allocations: 183.6 kB / 2.289 GB, free: 34.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/5.517, allocations: 61.02 kB / 2.289 GB, free: 34.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/5.517, allocations: 45.97 kB / 2.289 GB, free: 34.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003679/5.521, allocations: 1.763 MB / 2.29 GB, free: 34.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.21e-07/5.521, allocations: 0 / 2.29 GB, free: 34.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002941/5.524, allocations: 0.7639 MB / 2.291 GB, free: 34.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002018/5.526, allocations: 1.196 MB / 2.292 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003999/5.53, allocations: 1.414 MB / 2.294 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/5.53, allocations: 320 / 2.294 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/5.532, allocations: 0.7219 MB / 2.294 GB, free: 33.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00805/5.54, allocations: 1.332 MB / 2.296 GB, free: 33.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007617/5.548, allocations: 4.243 MB / 2.3 GB, free: 31.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/5.549, allocations: 1.488 MB / 2.301 GB, free: 30.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002297/5.551, allocations: 422.6 kB / 2.302 GB, free: 30.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/5.552, allocations: 170.2 kB / 2.302 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/5.552, allocations: 0 / 2.302 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.08627/5.638, allocations: 58.62 MB / 2.359 GB, free: 12 kB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)