Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 173.7 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4468/0.4468, 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.315/1.315, allocations: 223.2 MB / 348.4 MB, free: 4.965 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.0007703/0.0007706, allocations: 94.75 kB / 420.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 16 kB / 0.4901 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 71.02 MB / 0.5594 GB, free: 43.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9322/1.276, allocations: 386.2 MB / 0.9366 GB, free: 232.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.276, allocations: 94.05 kB / 0.9367 GB, free: 232.2 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Validation/Carnot_TEva_2ndLaw.mo:81:5-96:72:writable] Error: Variable chi_b.chi: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_TEva$chi_b$chi: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 2.371/3.647, allocations: 0.7789 GB / 1.716 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/3.647, allocations: 2.906 kB / 1.716 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002689/3.647, allocations: 36.12 kB / 1.716 GB, free: 76.88 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005916/3.653, allocations: 2.017 MB / 1.718 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/3.653, allocations: 11.41 kB / 1.718 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/3.656, allocations: 475.5 kB / 1.718 GB, free: 75.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/3.661, allocations: 1.795 MB / 1.72 GB, free: 75.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/3.661, allocations: 150.8 kB / 1.72 GB, free: 75.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004438/3.662, allocations: 109 kB / 1.72 GB, free: 75.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/3.666, allocations: 1.322 MB / 1.721 GB, free: 75.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/3.666, allocations: 0 / 1.721 GB, free: 75.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/3.666, allocations: 45.06 kB / 1.721 GB, free: 75.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/3.666, allocations: 27.47 kB / 1.721 GB, free: 75.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/3.669, allocations: 1.154 MB / 1.723 GB, free: 75.1 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.009859/3.679, allocations: 6.843 MB / 1.729 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/3.682, allocations: 0.9413 MB / 1.73 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/3.682, allocations: 323.5 kB / 1.73 GB, free: 71.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/3.683, allocations: 1.733 MB / 1.732 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/3.683, allocations: 41.72 kB / 1.732 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.086e-06/3.683, allocations: 1.125 kB / 1.732 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53): time 0.006134/3.689, allocations: 1.797 MB / 1.734 GB, free: 69.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/3.69, allocations: 58.94 kB / 1.734 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/3.692, allocations: 1.516 MB / 1.736 GB, free: 69.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/3.692, allocations: 36.58 kB / 1.736 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/3.693, allocations: 0.6646 MB / 1.736 GB, free: 68.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/3.693, allocations: 188.1 kB / 1.736 GB, free: 68.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/3.693, allocations: 16.78 kB / 1.736 GB, free: 68.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/3.693, allocations: 334.2 kB / 1.737 GB, free: 68.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008422/3.694, allocations: 386 kB / 1.737 GB, free: 68.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/3.695, allocations: 0.7004 MB / 1.738 GB, free: 67.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/3.696, allocations: 0.9014 MB / 1.739 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/3.696, allocations: 0 / 1.739 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002687/3.699, allocations: 1.235 MB / 1.74 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/3.699, allocations: 7.812 kB / 1.74 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/3.699, allocations: 7.938 kB / 1.74 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009815/3.7, allocations: 275.3 kB / 1.74 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/3.701, allocations: 190.7 kB / 1.74 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007923/3.701, allocations: 0.7773 MB / 1.741 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/3.703, allocations: 259.1 kB / 1.741 GB, free: 67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/3.703, allocations: 48 kB / 1.741 GB, free: 67 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (77): * Single equations (assignments): 76 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007569/3.704, allocations: 360.5 kB / 1.742 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/3.704, allocations: 145.5 kB / 1.742 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/3.706, allocations: 1.225 MB / 1.743 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/3.706, allocations: 22.47 kB / 1.743 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/3.706, allocations: 2.406 kB / 1.743 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/3.706, allocations: 6.281 kB / 1.743 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/3.711, allocations: 2.642 MB / 1.746 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/3.711, allocations: 3.703 kB / 1.746 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/3.711, allocations: 97.72 kB / 1.746 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008561/3.712, allocations: 266.5 kB / 1.746 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/3.712, allocations: 18.09 kB / 1.746 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/3.713, allocations: 0.7811 MB / 1.747 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.713, allocations: 3.281 kB / 1.747 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/3.716, allocations: 1.353 MB / 1.748 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000645/3.717, allocations: 369.3 kB / 1.748 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/3.717, allocations: 12.81 kB / 1.748 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/3.718, allocations: 99.73 kB / 1.749 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/3.718, allocations: 52.61 kB / 1.749 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/3.718, allocations: 24.89 kB / 1.749 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001659/3.72, allocations: 1.072 MB / 1.75 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.41e-07/3.72, allocations: 0 / 1.75 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001492/3.721, allocations: 498 kB / 1.75 GB, free: 65.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (55): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/3.723, allocations: 0.8002 MB / 1.751 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00201/3.725, allocations: 0.893 MB / 1.752 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/3.725, allocations: 1.312 kB / 1.752 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007521/3.725, allocations: 440.6 kB / 1.752 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/3.729, allocations: 0.7338 MB / 1.753 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/3.732, allocations: 2.743 MB / 1.756 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/3.733, allocations: 1.174 MB / 1.757 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001067/3.734, allocations: 264.4 kB / 1.757 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/3.734, allocations: 119.5 kB / 1.757 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/3.734, allocations: 4 kB / 1.757 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.04935/3.784, allocations: 34.68 MB / 1.791 GB, free: 58.37 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)