Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001372, allocations: 172.8 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5458/0.5458, allocations: 86.27 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.33/1.33, allocations: 223.3 MB / 348.4 MB, free: 4.98 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.0009273/0.0009275, allocations: 91.77 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003941, allocations: 12 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 71.02 MB / 0.5594 GB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8948/1.237, allocations: 384.7 MB / 0.9352 GB, free: 232.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.237, allocations: 91.61 kB / 0.9353 GB, free: 232.7 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 3.229/4.466, allocations: 1.057 GB / 1.992 GB, free: 86.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.422e-06/4.466, allocations: 0 / 1.992 GB, free: 86.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002181/4.466, allocations: 31.62 kB / 1.992 GB, free: 86.14 MB / 0.6198 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.005141/4.471, allocations: 1.703 MB / 1.994 GB, free: 85.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/4.471, allocations: 11.62 kB / 1.994 GB, free: 85.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/4.473, allocations: 350.1 kB / 1.994 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/4.477, allocations: 1.319 MB / 1.995 GB, free: 84.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003781/4.477, allocations: 128.5 kB / 1.996 GB, free: 84.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/4.478, allocations: 87.41 kB / 1.996 GB, free: 84.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/4.48, allocations: 0.9721 MB / 1.997 GB, free: 84.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/4.48, allocations: 0 / 1.997 GB, free: 84.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/4.48, allocations: 32.62 kB / 1.997 GB, free: 84.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/4.48, allocations: 20.66 kB / 1.997 GB, free: 84.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/4.482, allocations: 0.8282 MB / 1.997 GB, free: 84.61 MB / 0.6198 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.006698/4.489, allocations: 4.475 MB / 2.002 GB, free: 82.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/4.49, allocations: 0.5941 MB / 2.002 GB, free: 82.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/4.491, allocations: 278.1 kB / 2.003 GB, free: 82.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009725/4.492, allocations: 1.366 MB / 2.004 GB, free: 80.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/4.492, allocations: 40.03 kB / 2.004 GB, free: 80.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 2.625e-06/4.492, allocations: 0 / 2.004 GB, free: 80.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.007117/4.499, allocations: 2.001 MB / 2.006 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/4.499, allocations: 63.81 kB / 2.006 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/4.501, allocations: 1.058 MB / 2.007 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/4.501, allocations: 38.52 kB / 2.007 GB, free: 80.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/4.501, allocations: 0.5383 MB / 2.008 GB, free: 80.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/4.502, allocations: 156.5 kB / 2.008 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/4.502, allocations: 10.28 kB / 2.008 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.504e-05/4.502, allocations: 329.8 kB / 2.008 GB, free: 79.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/4.502, allocations: 273.2 kB / 2.008 GB, free: 79.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/4.503, allocations: 0.5092 MB / 2.009 GB, free: 79.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/4.504, allocations: 0.6429 MB / 2.009 GB, free: 79.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/4.504, allocations: 4.562 kB / 2.01 GB, free: 79.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002268/4.507, allocations: 0.9545 MB / 2.01 GB, free: 79.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/4.507, allocations: 210.4 kB / 2.011 GB, free: 78.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/4.507, allocations: 11.12 kB / 2.011 GB, free: 78.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/4.508, allocations: 368.4 kB / 2.011 GB, free: 78.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/4.509, allocations: 113.5 kB / 2.011 GB, free: 78.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/4.51, allocations: 0.9733 MB / 2.012 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/4.511, allocations: 185.3 kB / 2.012 GB, free: 78.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/4.511, allocations: 29.45 kB / 2.012 GB, free: 78.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/4.511, allocations: 5.188 kB / 2.012 GB, free: 78.34 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00194/4.513, allocations: 0.8262 MB / 2.013 GB, free: 78.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/4.513, allocations: 10.78 kB / 2.013 GB, free: 78.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/4.514, allocations: 356 kB / 2.013 GB, free: 78.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/4.515, allocations: 116.3 kB / 2.014 GB, free: 78.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/4.516, allocations: 0.9628 MB / 2.014 GB, free: 77.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/4.517, allocations: 150.9 kB / 2.015 GB, free: 77.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/4.517, allocations: 37.16 kB / 2.015 GB, free: 77.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0006604/4.518, allocations: 361.5 kB / 2.015 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/4.518, allocations: 111.6 kB / 2.015 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/4.522, allocations: 1.129 MB / 2.016 GB, free: 77.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/4.522, allocations: 3.469 kB / 2.016 GB, free: 77.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/4.522, allocations: 5.562 kB / 2.016 GB, free: 77.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/4.522, allocations: 3.516 kB / 2.016 GB, free: 77.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/4.527, allocations: 2.153 MB / 2.018 GB, free: 77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/4.527, allocations: 3.781 kB / 2.018 GB, free: 77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/4.527, allocations: 64.31 kB / 2.018 GB, free: 77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/4.528, allocations: 363.5 kB / 2.019 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/4.528, allocations: 20.14 kB / 2.019 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/4.529, allocations: 0.999 MB / 2.02 GB, free: 76.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/4.529, allocations: 3.938 kB / 2.02 GB, free: 76.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/4.533, allocations: 1.372 MB / 2.021 GB, free: 76.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/4.534, allocations: 274.7 kB / 2.021 GB, free: 75.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/4.534, allocations: 20.25 kB / 2.021 GB, free: 75.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/4.535, allocations: 97.42 kB / 2.021 GB, free: 75.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/4.535, allocations: 37.36 kB / 2.021 GB, free: 75.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/4.535, allocations: 21.42 kB / 2.021 GB, free: 75.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001302/4.537, allocations: 0.7393 MB / 2.022 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/4.537, allocations: 0 / 2.022 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002083/4.539, allocations: 0.6198 MB / 2.023 GB, free: 75.71 MB / 0.6198 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.001344/4.54, allocations: 0.6635 MB / 2.023 GB, free: 75.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00277/4.543, allocations: 1.08 MB / 2.025 GB, free: 75.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/4.543, allocations: 0 / 2.025 GB, free: 75.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/4.544, allocations: 355.9 kB / 2.025 GB, free: 75.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/4.547, allocations: 0.5291 MB / 2.025 GB, free: 75.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/4.55, allocations: 2.221 MB / 2.028 GB, free: 74.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/4.551, allocations: 1.066 MB / 2.029 GB, free: 73.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001122/4.552, allocations: 217.1 kB / 2.029 GB, free: 73.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/4.552, allocations: 78.59 kB / 2.029 GB, free: 73.39 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/4.552, allocations: 0 / 2.029 GB, free: 73.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.04103/4.593, allocations: 27.55 MB / 2.056 GB, free: 58.63 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)