Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4673/0.4673, 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.361/1.361, allocations: 223.3 MB / 348.4 MB, free: 5.02 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.0008224/0.0008224, allocations: 99.81 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 16 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 71.02 MB / 0.5594 GB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6023/0.9312, allocations: 374.8 MB / 0.9255 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.9316, allocations: 93.45 kB / 0.9256 GB, free: 2.941 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Examples/Carnot_y.mo:22:3-36:67:writable] Error: Variable chi: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_y$chi: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 2.662/3.594, allocations: 0.823 GB / 1.749 GB, free: 75.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/3.594, allocations: 0 / 1.749 GB, free: 75.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002653/3.594, allocations: 41.34 kB / 1.749 GB, free: 75.43 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006512/3.601, allocations: 1.968 MB / 1.751 GB, free: 74.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/3.601, allocations: 9.875 kB / 1.751 GB, free: 74.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/3.602, allocations: 239.4 kB / 1.751 GB, free: 74.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/3.606, allocations: 1.698 MB / 1.752 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/3.606, allocations: 80.09 kB / 1.752 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/3.606, allocations: 108.6 kB / 1.753 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/3.609, allocations: 1.106 MB / 1.754 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/3.609, allocations: 3.938 kB / 1.754 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/3.609, allocations: 38.19 kB / 1.754 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/3.609, allocations: 33.23 kB / 1.754 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/3.611, allocations: 0.9076 MB / 1.755 GB, free: 73.84 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.006626/3.618, allocations: 4.705 MB / 1.759 GB, free: 71.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/3.619, allocations: 0.5976 MB / 1.76 GB, free: 71.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/3.619, allocations: 346.4 kB / 1.76 GB, free: 71.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004888/3.62, allocations: 0.8294 MB / 1.761 GB, free: 70.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/3.62, allocations: 44.53 kB / 1.761 GB, free: 70.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 3.757e-06/3.62, allocations: 0 / 1.761 GB, free: 70.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.004844/3.625, allocations: 1.513 MB / 1.762 GB, free: 70.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/3.625, allocations: 58.28 kB / 1.763 GB, free: 70.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/3.627, allocations: 1.207 MB / 1.764 GB, free: 70.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/3.628, allocations: 41.42 kB / 1.764 GB, free: 70.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/3.628, allocations: 0.6213 MB / 1.764 GB, free: 70.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/3.629, allocations: 211.7 kB / 1.765 GB, free: 70.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/3.629, allocations: 12.56 kB / 1.765 GB, free: 70.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/3.629, allocations: 328.8 kB / 1.765 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/3.629, allocations: 279.8 kB / 1.765 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/3.63, allocations: 0.5061 MB / 1.766 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/3.631, allocations: 0.702 MB / 1.766 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/3.631, allocations: 1.844 kB / 1.766 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004232/3.636, allocations: 1.355 MB / 1.768 GB, free: 69.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/3.636, allocations: 191.8 kB / 1.768 GB, free: 69.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/3.636, allocations: 8.031 kB / 1.768 GB, free: 69.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/3.636, allocations: 174.2 kB / 1.768 GB, free: 69.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/3.637, allocations: 147 kB / 1.768 GB, free: 69.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007044/3.638, allocations: 0.7425 MB / 1.769 GB, free: 68.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/3.639, allocations: 159.4 kB / 1.769 GB, free: 68.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/3.639, allocations: 30.2 kB / 1.769 GB, free: 68.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/3.639, allocations: 8.656 kB / 1.769 GB, free: 68.51 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003822/3.643, allocations: 1.201 MB / 1.77 GB, free: 68.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/3.643, allocations: 6.469 kB / 1.77 GB, free: 68.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/3.644, allocations: 174 kB / 1.77 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/3.644, allocations: 149 kB / 1.771 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006869/3.645, allocations: 0.7394 MB / 1.771 GB, free: 67.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/3.646, allocations: 145.1 kB / 1.771 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/3.646, allocations: 36.98 kB / 1.771 GB, free: 67.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (71): * Single equations (assignments): 70 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007602/3.647, allocations: 427.3 kB / 1.772 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/3.647, allocations: 136.2 kB / 1.772 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/3.649, allocations: 0.9365 MB / 1.773 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/3.649, allocations: 7.25 kB / 1.773 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/3.649, allocations: 0 / 1.773 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/3.651, allocations: 0.8173 MB / 1.774 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/3.657, allocations: 2.666 MB / 1.776 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/3.657, allocations: 3.562 kB / 1.776 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/3.658, allocations: 125.2 kB / 1.776 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/3.658, allocations: 162.8 kB / 1.777 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/3.658, allocations: 24.97 kB / 1.777 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000711/3.659, allocations: 0.7296 MB / 1.777 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/3.659, allocations: 7.062 kB / 1.777 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/3.664, allocations: 1.84 MB / 1.779 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/3.665, allocations: 329.7 kB / 1.779 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/3.665, allocations: 15.88 kB / 1.779 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/3.666, allocations: 79.55 kB / 1.78 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/3.667, allocations: 57.94 kB / 1.78 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/3.667, allocations: 29.09 kB / 1.78 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001488/3.668, allocations: 0.8494 MB / 1.78 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/3.668, allocations: 6.562 kB / 1.78 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002468/3.671, allocations: 0.7471 MB / 1.781 GB, free: 64.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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): 50 * 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 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/3.672, allocations: 0.6825 MB / 1.782 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002274/3.674, allocations: 1.108 MB / 1.783 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/3.674, allocations: 2.812 kB / 1.783 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007574/3.675, allocations: 399.4 kB / 1.783 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/3.679, allocations: 0.7813 MB / 1.784 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/3.683, allocations: 2.763 MB / 1.787 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/3.683, allocations: 1.166 MB / 1.788 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001277/3.685, allocations: 299.8 kB / 1.788 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/3.685, allocations: 111.8 kB / 1.788 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/3.685, allocations: 0 / 1.788 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.04548/3.73, allocations: 33.35 MB / 1.821 GB, free: 36.82 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)