Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 173.7 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4466/0.4466, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.318/1.318, allocations: 223.2 MB / 348.4 MB, free: 4.973 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.0007924/0.0007924, allocations: 96.62 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004215, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 71.01 MB / 0.5594 GB, free: 43.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8438/1.153, allocations: 380.4 MB / 0.9309 GB, free: 234.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.153, allocations: 94.09 kB / 0.931 GB, free: 234.1 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 1.6/2.754, allocations: 0.5567 GB / 1.488 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.654e-06/2.754, allocations: 0 / 1.488 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002195/2.754, allocations: 41.12 kB / 1.488 GB, free: 91.29 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.005256/2.759, allocations: 1.993 MB / 1.49 GB, free: 90.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/2.759, allocations: 8.594 kB / 1.49 GB, free: 90.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/2.761, allocations: 242.5 kB / 1.49 GB, free: 90.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/2.764, allocations: 1.716 MB / 1.492 GB, free: 89.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/2.764, allocations: 78.94 kB / 1.492 GB, free: 89.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/2.765, allocations: 102.3 kB / 1.492 GB, free: 89.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/2.767, allocations: 1.098 MB / 1.493 GB, free: 89.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/2.767, allocations: 3.938 kB / 1.493 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/2.767, allocations: 41.09 kB / 1.493 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/2.767, allocations: 27.09 kB / 1.493 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/2.769, allocations: 0.9038 MB / 1.494 GB, free: 89.8 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.005824/2.774, allocations: 4.688 MB / 1.498 GB, free: 87.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/2.776, allocations: 0.6181 MB / 1.499 GB, free: 87.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/2.776, allocations: 340.3 kB / 1.499 GB, free: 87.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/2.777, allocations: 0.8324 MB / 1.5 GB, free: 86.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/2.777, allocations: 34.44 kB / 1.5 GB, free: 86.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/2.777, allocations: 3.25 kB / 1.5 GB, free: 86.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.006361/2.783, allocations: 1.858 MB / 1.502 GB, free: 86.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/2.783, allocations: 58.97 kB / 1.502 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/2.785, allocations: 1.21 MB / 1.503 GB, free: 86.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/2.786, allocations: 45.78 kB / 1.503 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/2.786, allocations: 0.6249 MB / 1.504 GB, free: 86.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/2.786, allocations: 204.7 kB / 1.504 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/2.786, allocations: 15.59 kB / 1.504 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.095e-05/2.786, allocations: 328.6 kB / 1.504 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/2.787, allocations: 276.6 kB / 1.505 GB, free: 85.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/2.788, allocations: 0.5069 MB / 1.505 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/2.789, allocations: 0.6911 MB / 1.506 GB, free: 85.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/2.789, allocations: 0 / 1.506 GB, free: 85.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004136/2.793, allocations: 1.35 MB / 1.507 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/2.793, allocations: 200.2 kB / 1.507 GB, free: 85.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/2.793, allocations: 3.562 kB / 1.507 GB, free: 85.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/2.794, allocations: 144 kB / 1.507 GB, free: 85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/2.794, allocations: 159.4 kB / 1.508 GB, free: 85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006598/2.795, allocations: 0.718 MB / 1.508 GB, free: 84.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/2.796, allocations: 161.6 kB / 1.508 GB, free: 84.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/2.796, allocations: 38.97 kB / 1.508 GB, free: 84.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-06/2.796, allocations: 3.656 kB / 1.508 GB, free: 84.44 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00379/2.8, allocations: 1.189 MB / 1.51 GB, free: 84.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/2.8, allocations: 5.969 kB / 1.51 GB, free: 84.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004274/2.801, allocations: 149.9 kB / 1.51 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/2.801, allocations: 155.2 kB / 1.51 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006052/2.802, allocations: 0.7208 MB / 1.511 GB, free: 83.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/2.803, allocations: 156 kB / 1.511 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/2.803, allocations: 31.2 kB / 1.511 GB, free: 83.84 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.0007023/2.804, allocations: 414.1 kB / 1.511 GB, free: 83.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/2.804, allocations: 139.2 kB / 1.511 GB, free: 83.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/2.808, allocations: 1.324 MB / 1.513 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/2.808, allocations: 8.094 kB / 1.513 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/2.808, allocations: 0 / 1.513 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003535/2.812, allocations: 1.218 MB / 1.514 GB, free: 83.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/2.818, allocations: 2.644 MB / 1.516 GB, free: 82.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/2.818, allocations: 7.875 kB / 1.516 GB, free: 82.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/2.819, allocations: 115.7 kB / 1.517 GB, free: 82.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/2.819, allocations: 134.9 kB / 1.517 GB, free: 82.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/2.819, allocations: 28.77 kB / 1.517 GB, free: 82.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/2.823, allocations: 2.472 MB / 1.519 GB, free: 81.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/2.823, allocations: 7.25 kB / 1.519 GB, free: 81.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/2.828, allocations: 1.806 MB / 1.521 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008334/2.829, allocations: 324.9 kB / 1.521 GB, free: 80.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/2.829, allocations: 11.5 kB / 1.521 GB, free: 80.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/2.83, allocations: 91.16 kB / 1.521 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/2.831, allocations: 59.83 kB / 1.521 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/2.831, allocations: 33.39 kB / 1.521 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001477/2.832, allocations: 0.8549 MB / 1.522 GB, free: 80.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/2.832, allocations: 0 / 1.522 GB, free: 80.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002583/2.835, allocations: 0.7564 MB / 1.523 GB, free: 80.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.001373/2.836, allocations: 0.7308 MB / 1.524 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002253/2.838, allocations: 1.097 MB / 1.525 GB, free: 80.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.838, allocations: 0 / 1.525 GB, free: 80.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/2.84, allocations: 0.5906 MB / 1.525 GB, free: 80.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/2.844, allocations: 0.7846 MB / 1.526 GB, free: 80.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/2.848, allocations: 2.751 MB / 1.529 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/2.849, allocations: 1.169 MB / 1.53 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001415/2.85, allocations: 300.7 kB / 1.53 GB, free: 78.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/2.85, allocations: 110.9 kB / 1.53 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/2.85, allocations: 0 / 1.53 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.04854/2.899, allocations: 33.98 MB / 1.563 GB, free: 68.66 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)