Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000939/0.0009391, allocations: 171.2 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.443/0.443, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.281/1.281, 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.000789/0.000789, allocations: 92.72 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 8 kB / 0.4901 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2659, allocations: 71.02 MB / 0.5594 GB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8152/1.081, allocations: 380.5 MB / 0.931 GB, free: 234.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/1.082, allocations: 93.98 kB / 0.9311 GB, free: 234.3 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/HeatPumps/Examples/Carnot_y.mo:20:3-34:67:writable] Error: Variable heaPum: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.HeatPumps.Carnot_y$heaPum: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 2.423/3.504, allocations: 0.8456 GB / 1.777 GB, free: 72.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/3.504, allocations: 3.703 kB / 1.777 GB, free: 72.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002043/3.505, allocations: 33.09 kB / 1.777 GB, free: 72.37 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.005452/3.51, allocations: 1.981 MB / 1.779 GB, free: 71.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/3.51, allocations: 16.59 kB / 1.779 GB, free: 71.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/3.511, allocations: 234.5 kB / 1.779 GB, free: 71.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/3.515, allocations: 1.713 MB / 1.781 GB, free: 70.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/3.515, allocations: 72.34 kB / 1.781 GB, free: 70.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/3.515, allocations: 106.9 kB / 1.781 GB, free: 70.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/3.517, allocations: 1.094 MB / 1.782 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/3.517, allocations: 11.39 kB / 1.782 GB, free: 69.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/3.517, allocations: 34.78 kB / 1.782 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/3.517, allocations: 26.34 kB / 1.782 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/3.519, allocations: 0.9135 MB / 1.783 GB, free: 69.46 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.005551/3.525, allocations: 4.693 MB / 1.787 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/3.526, allocations: 0.6072 MB / 1.788 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/3.527, allocations: 339.2 kB / 1.788 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/3.527, allocations: 0.827 MB / 1.789 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/3.527, allocations: 43.44 kB / 1.789 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.595e-06/3.527, allocations: 0 / 1.789 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.006317/3.533, allocations: 1.853 MB / 1.791 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/3.534, allocations: 65 kB / 1.791 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/3.535, allocations: 1.207 MB / 1.792 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/3.535, allocations: 41.64 kB / 1.792 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/3.536, allocations: 0.6235 MB / 1.793 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/3.536, allocations: 210.9 kB / 1.793 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/3.536, allocations: 8 kB / 1.793 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/3.536, allocations: 333.1 kB / 1.793 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/3.536, allocations: 275.5 kB / 1.794 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/3.537, allocations: 0.5024 MB / 1.794 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/3.538, allocations: 0.6956 MB / 1.795 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/3.538, allocations: 3.812 kB / 1.795 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00408/3.542, allocations: 1.343 MB / 1.796 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/3.542, allocations: 198.5 kB / 1.796 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/3.542, allocations: 5.469 kB / 1.796 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/3.543, allocations: 139.6 kB / 1.796 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/3.544, allocations: 157.4 kB / 1.797 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006419/3.544, allocations: 0.7179 MB / 1.797 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/3.545, allocations: 169.8 kB / 1.797 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/3.545, allocations: 35.77 kB / 1.797 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/3.545, allocations: 3.938 kB / 1.797 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003791/3.549, allocations: 1.196 MB / 1.799 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/3.549, allocations: 3.812 kB / 1.799 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/3.55, allocations: 143.8 kB / 1.799 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/3.55, allocations: 153.3 kB / 1.799 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006361/3.551, allocations: 0.7241 MB / 1.8 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/3.552, allocations: 147.2 kB / 1.8 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/3.552, allocations: 34.89 kB / 1.8 GB, free: 57.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006662/3.553, allocations: 420.4 kB / 1.8 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/3.553, allocations: 142.2 kB / 1.8 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/3.557, allocations: 1.319 MB / 1.802 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/3.557, allocations: 8 kB / 1.802 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/3.557, allocations: 7.938 kB / 1.802 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003565/3.561, allocations: 1.213 MB / 1.803 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/3.567, allocations: 2.637 MB / 1.805 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/3.567, allocations: 7.938 kB / 1.805 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/3.567, allocations: 121.8 kB / 1.806 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/3.568, allocations: 145 kB / 1.806 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/3.568, allocations: 16 kB / 1.806 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/3.572, allocations: 2.488 MB / 1.808 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/3.572, allocations: 7.938 kB / 1.808 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004615/3.576, allocations: 1.811 MB / 1.81 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/3.577, allocations: 323.1 kB / 1.81 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/3.577, allocations: 19.19 kB / 1.81 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009204/3.578, allocations: 87.83 kB / 1.81 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/3.578, allocations: 56.31 kB / 1.81 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/3.578, allocations: 31.97 kB / 1.81 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001378/3.58, allocations: 0.8506 MB / 1.811 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/3.58, allocations: 0 / 1.811 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002241/3.582, allocations: 0.7525 MB / 1.812 GB, free: 44.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/3.583, allocations: 0.7278 MB / 1.813 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002272/3.586, allocations: 1.093 MB / 1.814 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/3.586, allocations: 8 kB / 1.814 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/3.587, allocations: 0.5878 MB / 1.814 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/3.591, allocations: 0.78 MB / 1.815 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/3.595, allocations: 2.754 MB / 1.818 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/3.595, allocations: 1.173 MB / 1.819 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00127/3.596, allocations: 293.2 kB / 1.819 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/3.597, allocations: 107.4 kB / 1.819 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/3.597, allocations: 4 kB / 1.819 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.04574/3.642, allocations: 33.95 MB / 1.852 GB, free: 4.156 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)