Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002543/0.002548, allocations: 358.5 kB / 16.58 MB, free: 5.566 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.394/1.394, allocations: 165.8 MB / 183.1 MB, free: 5.422 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.707/3.707, allocations: 410.8 MB / 0.6001 GB, free: 15.15 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.001706/0.001706, allocations: 195 kB / 0.6668 GB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004561, allocations: 12 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4001, allocations: 67.45 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.703, allocations: 378.5 MB / 1.178 GB, free: 159 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.703, allocations: 96.94 kB / 1.178 GB, free: 159 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.885/5.589, allocations: 0.8299 GB / 2.008 GB, free: 34.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.446e-06/5.589, allocations: 0 / 2.008 GB, free: 34.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001967/5.589, allocations: 43.92 kB / 2.008 GB, free: 34.35 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.006465/5.595, allocations: 2.002 MB / 2.01 GB, free: 32.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/5.595, allocations: 8.031 kB / 2.01 GB, free: 32.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/5.597, allocations: 237.9 kB / 2.011 GB, free: 32.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/5.602, allocations: 1.668 MB / 2.012 GB, free: 30.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/5.602, allocations: 74 kB / 2.012 GB, free: 30.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/5.602, allocations: 108 kB / 2.012 GB, free: 30.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/5.606, allocations: 1.108 MB / 2.013 GB, free: 29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/5.606, allocations: 4 kB / 2.013 GB, free: 28.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/5.606, allocations: 36 kB / 2.013 GB, free: 28.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/5.606, allocations: 31.64 kB / 2.014 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/5.609, allocations: 0.9212 MB / 2.014 GB, free: 28.01 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.009446/5.618, allocations: 4.694 MB / 2.019 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/5.621, allocations: 0.6511 MB / 2.02 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/5.622, allocations: 374.3 kB / 2.02 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006833/5.623, allocations: 0.8316 MB / 2.021 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/5.623, allocations: 46.31 kB / 2.021 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=64): time 3.527e-06/5.623, allocations: 0 / 2.021 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=64): time 0.01358/5.636, allocations: 1.924 MB / 2.023 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/5.636, allocations: 63.95 kB / 2.023 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/5.639, allocations: 1.182 MB / 2.024 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002298/5.639, allocations: 37.7 kB / 2.024 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/5.64, allocations: 0.6069 MB / 2.025 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/5.64, allocations: 228.8 kB / 2.025 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/5.64, allocations: 12 kB / 2.025 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/5.64, allocations: 337.8 kB / 2.025 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/5.641, allocations: 277.1 kB / 2.025 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/5.643, allocations: 0.5087 MB / 2.026 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/5.644, allocations: 340.2 kB / 2.026 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/5.644, allocations: 0 / 2.026 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.008416/5.652, allocations: 1.353 MB / 2.028 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/5.652, allocations: 188.8 kB / 2.028 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/5.652, allocations: 4 kB / 2.028 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/5.653, allocations: 164.7 kB / 2.028 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/5.655, allocations: 151.8 kB / 2.028 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/5.656, allocations: 0.7396 MB / 2.029 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/5.658, allocations: 151.1 kB / 2.029 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/5.658, allocations: 35.98 kB / 2.029 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/5.658, allocations: 8 kB / 2.029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008001/5.666, allocations: 1.193 MB / 2.03 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/5.666, allocations: 4 kB / 2.03 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009954/5.667, allocations: 173 kB / 2.03 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/5.668, allocations: 147.8 kB / 2.03 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/5.67, allocations: 0.7369 MB / 2.031 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/5.672, allocations: 143.2 kB / 2.031 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/5.672, allocations: 39.98 kB / 2.031 GB, free: 10 MB / 0.5886 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.001038/5.673, allocations: 421 kB / 2.032 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/5.673, allocations: 138.4 kB / 2.032 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008583/5.682, allocations: 1.421 MB / 2.033 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/5.682, allocations: 8 kB / 2.033 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/5.682, allocations: 0 / 2.033 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007959/5.69, allocations: 1.253 MB / 2.034 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/5.702, allocations: 2.718 MB / 2.037 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/5.702, allocations: 4 kB / 2.037 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/5.703, allocations: 136.2 kB / 2.037 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009735/5.704, allocations: 164.7 kB / 2.037 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/5.704, allocations: 19.88 kB / 2.037 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/5.705, allocations: 0.724 MB / 2.038 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/5.705, allocations: 15.94 kB / 2.038 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009848/5.715, allocations: 1.877 MB / 2.04 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/5.716, allocations: 327.1 kB / 2.04 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/5.716, allocations: 24.06 kB / 2.04 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/5.718, allocations: 83.83 kB / 2.04 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/5.718, allocations: 56.27 kB / 2.04 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/5.718, allocations: 35.97 kB / 2.04 GB, free: 324 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.4529/6.171, allocations: 0.8449 MB / 2.041 GB, free: 71.92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.032e-06/6.171, allocations: 0 / 2.041 GB, free: 71.92 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003706/6.175, allocations: 0.7435 MB / 2.042 GB, free: 71.92 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002111/6.177, allocations: 0.7309 MB / 2.043 GB, free: 71.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004913/6.182, allocations: 1.111 MB / 2.044 GB, free: 71.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/6.182, allocations: 0.8438 kB / 2.044 GB, free: 71.79 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/6.184, allocations: 417.7 kB / 2.044 GB, free: 71.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007477/6.192, allocations: 0.7792 MB / 2.045 GB, free: 71.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/6.199, allocations: 2.777 MB / 2.048 GB, free: 70.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/6.199, allocations: 1.197 MB / 2.049 GB, free: 69.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002423/6.202, allocations: 303.6 kB / 2.049 GB, free: 69.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/6.202, allocations: 106.6 kB / 2.049 GB, free: 69.78 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/6.202, allocations: 0 / 2.049 GB, free: 69.78 MB / 0.5886 GB Notification: Performance of Templates: time 0.08035/6.283, allocations: 32.74 MB / 2.081 GB, free: 68.75 MB / 0.5886 GB