Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004285/0.004291, allocations: 357.6 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.462/1.462, allocations: 165.8 MB / 183.1 MB, free: 5.457 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.69/3.69, allocations: 410.8 MB / 0.6001 GB, free: 15.21 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 213.5 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00063/0.0006303, allocations: 15.94 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4089, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.769, allocations: 378.4 MB / 1.178 GB, free: 158.8 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.769, allocations: 96.45 kB / 1.178 GB, free: 158.8 MB / 0.573 GB [/var/lib/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 3.989/5.758, allocations: 0.8297 GB / 2.008 GB, free: 36.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.455e-06/5.758, allocations: 0 / 2.008 GB, free: 36.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002972/5.759, allocations: 35.98 kB / 2.008 GB, free: 36.41 MB / 0.5886 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.007305/5.766, allocations: 2.002 MB / 2.01 GB, free: 34.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/5.766, allocations: 12.03 kB / 2.01 GB, free: 34.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/5.768, allocations: 235.7 kB / 2.01 GB, free: 34.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005549/5.773, allocations: 1.662 MB / 2.012 GB, free: 32.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/5.773, allocations: 85.89 kB / 2.012 GB, free: 32.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/5.774, allocations: 100 kB / 2.012 GB, free: 32.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/5.777, allocations: 1.092 MB / 2.013 GB, free: 31.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-05/5.777, allocations: 4 kB / 2.013 GB, free: 31.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/5.777, allocations: 40 kB / 2.013 GB, free: 31.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/5.777, allocations: 24 kB / 2.013 GB, free: 31.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/5.781, allocations: 0.9167 MB / 2.014 GB, free: 30.1 MB / 0.5886 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.009619/5.79, allocations: 4.692 MB / 2.019 GB, free: 25.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/5.793, allocations: 0.6354 MB / 2.019 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/5.794, allocations: 370.3 kB / 2.02 GB, free: 24.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007754/5.795, allocations: 0.8277 MB / 2.021 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/5.795, allocations: 43.12 kB / 2.021 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 3.476e-06/5.795, allocations: 0 / 2.021 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.01272/5.808, allocations: 1.846 MB / 2.022 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/5.808, allocations: 59.97 kB / 2.022 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/5.81, allocations: 1.186 MB / 2.024 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/5.811, allocations: 37.7 kB / 2.024 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/5.811, allocations: 0.6107 MB / 2.024 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/5.812, allocations: 216.8 kB / 2.024 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/5.812, allocations: 16 kB / 2.024 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/5.812, allocations: 337.9 kB / 2.025 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/5.813, allocations: 273 kB / 2.025 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/5.814, allocations: 0.5134 MB / 2.026 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/5.815, allocations: 340.1 kB / 2.026 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/5.815, allocations: 0 / 2.026 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.008286/5.824, allocations: 1.337 MB / 2.027 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/5.824, allocations: 201.9 kB / 2.027 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/5.824, allocations: 4 kB / 2.027 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/5.825, allocations: 140.7 kB / 2.027 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/5.826, allocations: 159.8 kB / 2.028 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/5.827, allocations: 0.72 MB / 2.028 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/5.83, allocations: 155.1 kB / 2.028 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/5.83, allocations: 35.97 kB / 2.029 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/5.83, allocations: 4 kB / 2.029 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0078/5.838, allocations: 1.189 MB / 2.03 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/5.838, allocations: 4 kB / 2.03 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/5.839, allocations: 144.9 kB / 2.03 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.84, allocations: 159.8 kB / 2.03 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/5.841, allocations: 0.7145 MB / 2.031 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/5.844, allocations: 151.2 kB / 2.031 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/5.844, allocations: 35.98 kB / 2.031 GB, free: 12.27 MB / 0.5886 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.001069/5.845, allocations: 421.7 kB / 2.031 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/5.845, allocations: 134.4 kB / 2.031 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008332/5.854, allocations: 1.406 MB / 2.033 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/5.854, allocations: 12 kB / 2.033 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/5.854, allocations: 3.953 kB / 2.033 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007653/5.861, allocations: 1.226 MB / 2.034 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/5.873, allocations: 2.689 MB / 2.037 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/5.873, allocations: 4 kB / 2.037 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/5.874, allocations: 128.2 kB / 2.037 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008437/5.875, allocations: 141 kB / 2.037 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/5.875, allocations: 16 kB / 2.037 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007541/5.883, allocations: 2.496 MB / 2.039 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/5.883, allocations: 4 kB / 2.039 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009545/5.892, allocations: 1.85 MB / 2.041 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/5.893, allocations: 323.2 kB / 2.041 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/5.894, allocations: 16 kB / 2.041 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/5.895, allocations: 91.72 kB / 2.042 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/5.896, allocations: 64.3 kB / 2.042 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/5.896, allocations: 31.98 kB / 2.042 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.4661/6.362, allocations: 0.8407 MB / 2.042 GB, free: 71.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.91e-07/6.362, allocations: 0 / 2.042 GB, free: 71.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003666/6.366, allocations: 0.7487 MB / 2.043 GB, free: 71.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 52 * 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.002064/6.368, allocations: 0.7255 MB / 2.044 GB, free: 70.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00482/6.373, allocations: 1.093 MB / 2.045 GB, free: 70.97 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/6.373, allocations: 1.656 kB / 2.045 GB, free: 70.97 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/6.375, allocations: 0.6014 MB / 2.046 GB, free: 70.85 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007269/6.383, allocations: 0.7856 MB / 2.046 GB, free: 70.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/6.389, allocations: 2.768 MB / 2.049 GB, free: 69.56 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/6.39, allocations: 1.196 MB / 2.05 GB, free: 68.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002263/6.393, allocations: 302.9 kB / 2.05 GB, free: 68.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/6.393, allocations: 108.1 kB / 2.051 GB, free: 68.84 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/6.393, allocations: 1.125 kB / 2.051 GB, free: 68.84 MB / 0.5886 GB Notification: Performance of Templates: time 0.08014/6.473, allocations: 32.93 MB / 2.083 GB, free: 67.82 MB / 0.5886 GB