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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.00109/0.00109, allocations: 182.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4916/0.4916, allocations: 92 MB / 108.5 MB, free: 13.09 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.693/1.693, allocations: 223.2 MB / 354.3 MB, free: 10.45 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.001054/0.001054, allocations: 96.22 kB / 427.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 11.98 kB / 0.4982 GB, free: 42.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1791, allocations: 72.32 MB / 0.5689 GB, free: 1.723 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.355, allocations: 382.8 MB / 0.9427 GB, free: 84.29 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.355, allocations: 92.83 kB / 0.9428 GB, free: 84.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.157/4.513, allocations: 0.878 GB / 1.821 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/4.513, allocations: 3.125 kB / 1.821 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001523/4.513, allocations: 43.2 kB / 1.821 GB, free: 84.86 MB / 0.6198 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.004602/4.517, allocations: 2.01 MB / 1.823 GB, free: 83.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/4.518, allocations: 7.656 kB / 1.823 GB, free: 83.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008355/4.518, allocations: 242.6 kB / 1.823 GB, free: 83.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/4.522, allocations: 1.72 MB / 1.825 GB, free: 83.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/4.522, allocations: 85.45 kB / 1.825 GB, free: 83.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/4.522, allocations: 97.62 kB / 1.825 GB, free: 83.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/4.524, allocations: 1.1 MB / 1.826 GB, free: 83.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/4.524, allocations: 3.906 kB / 1.826 GB, free: 83.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.066e-05/4.524, allocations: 43.98 kB / 1.826 GB, free: 83.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/4.524, allocations: 43.08 kB / 1.826 GB, free: 83.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/4.526, allocations: 0.9052 MB / 1.827 GB, free: 83.44 MB / 0.6198 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.005675/4.532, allocations: 4.716 MB / 1.832 GB, free: 81.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/4.533, allocations: 0.6121 MB / 1.832 GB, free: 81.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/4.533, allocations: 0.8233 MB / 1.833 GB, free: 80.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/4.533, allocations: 41.91 kB / 1.833 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.236e-06/4.533, allocations: 5.75 kB / 1.833 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.00684/4.54, allocations: 1.842 MB / 1.835 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/4.54, allocations: 61.98 kB / 1.835 GB, free: 80.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/4.542, allocations: 1.113 MB / 1.836 GB, free: 80.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/4.542, allocations: 38.8 kB / 1.836 GB, free: 80.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/4.543, allocations: 0.6383 MB / 1.837 GB, free: 79.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/4.543, allocations: 199.4 kB / 1.837 GB, free: 79.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/4.543, allocations: 13.75 kB / 1.837 GB, free: 79.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/4.543, allocations: 333 kB / 1.837 GB, free: 79.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/4.543, allocations: 275.2 kB / 1.837 GB, free: 79.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/4.544, allocations: 0.4981 MB / 1.838 GB, free: 79.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/4.545, allocations: 332.1 kB / 1.838 GB, free: 79.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/4.545, allocations: 3.406 kB / 1.838 GB, free: 79.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004614/4.55, allocations: 1.348 MB / 1.839 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003705/4.55, allocations: 1.427 MB / 1.841 GB, free: 77.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/4.55, allocations: 7.734 kB / 1.841 GB, free: 77.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/4.551, allocations: 140 kB / 1.841 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/4.551, allocations: 163.2 kB / 1.841 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007176/4.552, allocations: 0.7102 MB / 1.842 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/4.553, allocations: 166.4 kB / 1.842 GB, free: 77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/4.553, allocations: 36.27 kB / 1.842 GB, free: 77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/4.554, allocations: 4.312 kB / 1.842 GB, free: 77 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004223/4.558, allocations: 1.191 MB / 1.843 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/4.558, allocations: 3.812 kB / 1.843 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004668/4.558, allocations: 152.2 kB / 1.843 GB, free: 76.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/4.559, allocations: 161.2 kB / 1.844 GB, free: 76.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006774/4.559, allocations: 0.7114 MB / 1.844 GB, free: 76.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/4.561, allocations: 150.3 kB / 1.844 GB, free: 76.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/4.561, allocations: 33.78 kB / 1.844 GB, free: 76.4 MB / 0.6198 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.0008272/4.562, allocations: 420.2 kB / 1.845 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/4.562, allocations: 132.6 kB / 1.845 GB, free: 76.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/4.567, allocations: 1.332 MB / 1.846 GB, free: 76.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/4.567, allocations: 7.344 kB / 1.846 GB, free: 76.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/4.567, allocations: 0 / 1.846 GB, free: 76.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003956/4.571, allocations: 1.215 MB / 1.847 GB, free: 75.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006591/4.577, allocations: 2.671 MB / 1.85 GB, free: 75.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/4.577, allocations: 5.156 kB / 1.85 GB, free: 75.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/4.578, allocations: 115.5 kB / 1.85 GB, free: 75.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/4.578, allocations: 143.8 kB / 1.85 GB, free: 75.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/4.578, allocations: 24.48 kB / 1.85 GB, free: 75.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/4.583, allocations: 2.547 MB / 1.853 GB, free: 73.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/4.583, allocations: 3.781 kB / 1.853 GB, free: 73.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/4.588, allocations: 2 MB / 1.855 GB, free: 73.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/4.589, allocations: 333.3 kB / 1.855 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/4.589, allocations: 16.86 kB / 1.855 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008237/4.59, allocations: 81.88 kB / 1.855 GB, free: 73.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/4.59, allocations: 57.78 kB / 1.855 GB, free: 73.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/4.59, allocations: 31.44 kB / 1.855 GB, free: 73.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0013/4.591, allocations: 0.8931 MB / 1.856 GB, free: 73.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/4.591, allocations: 0 / 1.856 GB, free: 73.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002389/4.594, allocations: 0.7973 MB / 1.857 GB, free: 72.95 MB / 0.6198 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.001277/4.595, allocations: 0.7829 MB / 1.858 GB, free: 72.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002303/4.597, allocations: 1.092 MB / 1.859 GB, free: 72.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/4.597, allocations: 3.594 kB / 1.859 GB, free: 72.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/4.598, allocations: 0.5887 MB / 1.859 GB, free: 72.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/4.602, allocations: 0.7619 MB / 1.86 GB, free: 72.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/4.605, allocations: 2.76 MB / 1.863 GB, free: 71.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/4.606, allocations: 1.207 MB / 1.864 GB, free: 70.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001236/4.607, allocations: 298.3 kB / 1.864 GB, free: 70.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/4.607, allocations: 106.3 kB / 1.864 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/4.607, allocations: 0 / 1.864 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.04911/4.656, allocations: 33.4 MB / 1.897 GB, free: 68.09 MB / 0.6198 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)