Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 176.5 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4591/0.4591, allocations: 86.26 MB / 103.8 MB, free: 14.58 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.327/1.327, allocations: 223.3 MB / 348.4 MB, free: 5.023 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.0007535/0.0007537, allocations: 92.16 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004442, allocations: 12 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3259, allocations: 71.02 MB / 0.5594 GB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9471/1.273, allocations: 387.3 MB / 0.9377 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.273, allocations: 97.94 kB / 0.9378 GB, free: 232.4 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Validation/CarnotVerifyCOP.mo:41:3-58: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/CarnotVerifyCOP.mo:89:3-106: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.154/5.427, allocations: 1.298 GB / 2.236 GB, free: 50.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.644e-06/5.427, allocations: 0 / 2.236 GB, free: 50.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003939/5.428, allocations: 70.66 kB / 2.236 GB, free: 50.31 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.008257/5.436, allocations: 3.066 MB / 2.239 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/5.436, allocations: 9.312 kB / 2.239 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/5.441, allocations: 0.8977 MB / 2.24 GB, free: 48.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007382/5.448, allocations: 2.67 MB / 2.242 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009622/5.449, allocations: 327.1 kB / 2.243 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/5.45, allocations: 169.9 kB / 2.243 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/5.455, allocations: 1.976 MB / 2.245 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.676e-05/5.455, allocations: 0 / 2.245 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/5.455, allocations: 64.38 kB / 2.245 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/5.455, allocations: 40.44 kB / 2.245 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/5.46, allocations: 1.861 MB / 2.247 GB, free: 47.71 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.01521/5.475, allocations: 8.765 MB / 2.255 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/5.479, allocations: 1.341 MB / 2.257 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/5.481, allocations: 486 kB / 2.257 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/5.482, allocations: 1.729 MB / 2.259 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/5.482, allocations: 47.72 kB / 2.259 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 3.577e-06/5.482, allocations: 0 / 2.259 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.01898/5.501, allocations: 4.435 MB / 2.263 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/5.501, allocations: 85.95 kB / 2.263 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/5.506, allocations: 2.484 MB / 2.266 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000285/5.506, allocations: 42.64 kB / 2.266 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/5.507, allocations: 1.067 MB / 2.267 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/5.508, allocations: 276.9 kB / 2.267 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/5.508, allocations: 15.91 kB / 2.267 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/5.508, allocations: 343.6 kB / 2.267 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/5.51, allocations: 0.5937 MB / 2.268 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/5.512, allocations: 1.023 MB / 2.269 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/5.514, allocations: 1.272 MB / 2.27 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/5.514, allocations: 6.312 kB / 2.27 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006748/5.521, allocations: 2.14 MB / 2.272 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/5.521, allocations: 7.062 kB / 2.272 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/5.521, allocations: 8.25 kB / 2.272 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/5.524, allocations: 0.9602 MB / 2.273 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008972/5.525, allocations: 231.8 kB / 2.273 GB, free: 38.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/5.529, allocations: 2.021 MB / 2.275 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/5.533, allocations: 454 kB / 2.276 GB, free: 37.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/5.533, allocations: 61.38 kB / 2.276 GB, free: 37.42 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.001816/5.535, allocations: 459.5 kB / 2.276 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008402/5.536, allocations: 253.6 kB / 2.277 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/5.542, allocations: 2.079 MB / 2.279 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/5.542, allocations: 13.83 kB / 2.279 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/5.543, allocations: 3.422 kB / 2.279 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/5.543, allocations: 9.812 kB / 2.279 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009239/5.552, allocations: 3.737 MB / 2.282 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/5.552, allocations: 5.969 kB / 2.282 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/5.552, allocations: 94.31 kB / 2.282 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/5.555, allocations: 0.9462 MB / 2.283 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/5.555, allocations: 19.42 kB / 2.283 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/5.558, allocations: 2.034 MB / 2.285 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/5.559, allocations: 9.656 kB / 2.285 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/5.564, allocations: 2.086 MB / 2.287 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/5.566, allocations: 0.5076 MB / 2.288 GB, free: 34.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000967/5.567, allocations: 23.22 kB / 2.288 GB, free: 34.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/5.569, allocations: 186.1 kB / 2.288 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/5.569, allocations: 57.78 kB / 2.288 GB, free: 34.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/5.57, allocations: 45.52 kB / 2.288 GB, free: 34.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004029/5.574, allocations: 1.741 MB / 2.29 GB, free: 34.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.62e-07/5.574, allocations: 4 kB / 2.29 GB, free: 34.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0034/5.577, allocations: 0.7585 MB / 2.291 GB, free: 34.06 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.002253/5.579, allocations: 1.196 MB / 2.292 GB, free: 33.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004234/5.584, allocations: 1.413 MB / 2.293 GB, free: 33.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/5.584, allocations: 0 / 2.293 GB, free: 33.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002037/5.586, allocations: 0.7137 MB / 2.294 GB, free: 33.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008323/5.594, allocations: 1.333 MB / 2.295 GB, free: 33.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/5.602, allocations: 4.22 MB / 2.299 GB, free: 31.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/5.603, allocations: 1.491 MB / 2.301 GB, free: 30.63 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002511/5.606, allocations: 425.3 kB / 2.301 GB, free: 30.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/5.607, allocations: 163 kB / 2.301 GB, free: 30.55 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/5.607, allocations: 4 kB / 2.301 GB, free: 30.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.08676/5.693, allocations: 58.43 MB / 2.358 GB, free: 0.6875 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)