Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 303.7 MB, free: 8.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009195/0.0009194, allocations: 180.4 kB / 372.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 0.631 GB, free: 13.55 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007217/0.0007218, allocations: 87.12 kB / 0.7444 GB, free: 64.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 16 kB / 0.8675 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 115.3 MB / 0.9801 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.4575/0.6621, allocations: 69.49 MB / 1.048 GB, free: 74.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.6813, allocations: 14.08 MB / 1.062 GB, free: 68.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.6845, allocations: 55.56 kB / 1.062 GB, free: 68.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.6869, allocations: 0.5685 MB / 1.062 GB, free: 68.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007515/0.6945, allocations: 2.114 MB / 1.064 GB, free: 67.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.6982, allocations: 0.9923 MB / 1.065 GB, free: 66.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006014/0.7042, allocations: 4.806 MB / 1.07 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.7063, allocations: 1.149 MB / 1.071 GB, free: 64.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.7094, allocations: 1.309 MB / 1.072 GB, free: 63.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.7113, allocations: 1.077 MB / 1.073 GB, free: 63.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.7115, allocations: 54.09 kB / 1.074 GB, free: 63.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.7146, allocations: 1.178 MB / 1.075 GB, free: 62.78 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.715, allocations: 271.5 kB / 1.075 GB, free: 62.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.716, allocations: 0.7713 MB / 1.076 GB, free: 62.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.7187, allocations: 2.152 MB / 1.078 GB, free: 61.67 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.7187, allocations: 2.875 kB / 1.078 GB, free: 61.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7187, allocations: 0 / 1.078 GB, free: 61.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.433e-05/0.7188, allocations: 4 kB / 1.078 GB, free: 61.67 MB / 0.7448 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.003076/0.7219, allocations: 1.775 MB / 1.08 GB, free: 60.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.7219, allocations: 9.375 kB / 1.08 GB, free: 60.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006536/0.7226, allocations: 249.8 kB / 1.08 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.7246, allocations: 1.47 MB / 1.081 GB, free: 59.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.7247, allocations: 76.16 kB / 1.081 GB, free: 59.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.7248, allocations: 102.5 kB / 1.081 GB, free: 59.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.7265, allocations: 1.113 MB / 1.082 GB, free: 58.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.7265, allocations: 7.094 kB / 1.083 GB, free: 58.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.7266, allocations: 42.19 kB / 1.083 GB, free: 58.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.7266, allocations: 22.62 kB / 1.083 GB, free: 58.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.7283, allocations: 0.922 MB / 1.083 GB, free: 58.6 MB / 0.7448 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.004524/0.7328, allocations: 4.927 MB / 1.088 GB, free: 55.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.734, allocations: 0.6403 MB / 1.089 GB, free: 54.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/0.7347, allocations: 374 kB / 1.089 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/0.7351, allocations: 0.8228 MB / 1.09 GB, free: 53.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.7351, allocations: 42.61 kB / 1.09 GB, free: 53.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 2.715e-06/0.7351, allocations: 0 / 1.09 GB, free: 53.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.006583/0.7417, allocations: 1.899 MB / 1.092 GB, free: 53.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.7418, allocations: 61.91 kB / 1.092 GB, free: 53.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.743, allocations: 1.194 MB / 1.093 GB, free: 52.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.7431, allocations: 39.73 kB / 1.093 GB, free: 52.67 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.7435, allocations: 0.6005 MB / 1.094 GB, free: 52.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.7436, allocations: 212.2 kB / 1.094 GB, free: 52.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.7436, allocations: 15.03 kB / 1.094 GB, free: 52.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.7437, allocations: 342.3 kB / 1.094 GB, free: 51.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.7443, allocations: 296.2 kB / 1.095 GB, free: 51.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.745, allocations: 0.5057 MB / 1.095 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.7462, allocations: 0.7373 MB / 1.096 GB, free: 50.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7462, allocations: 2.844 kB / 1.096 GB, free: 50.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004253/0.7504, allocations: 1.395 MB / 1.097 GB, free: 50.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/0.7505, allocations: 199.5 kB / 1.097 GB, free: 50.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7506, allocations: 2.844 kB / 1.097 GB, free: 50.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/0.7511, allocations: 141.9 kB / 1.098 GB, free: 50.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.7516, allocations: 167.8 kB / 1.098 GB, free: 50.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006787/0.7523, allocations: 0.7145 MB / 1.098 GB, free: 49.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.7535, allocations: 171.4 kB / 1.099 GB, free: 49.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.7535, allocations: 33.75 kB / 1.099 GB, free: 49.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.7536, allocations: 3.312 kB / 1.099 GB, free: 49.53 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004055/0.7576, allocations: 1.248 MB / 1.1 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7576, allocations: 3.312 kB / 1.1 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/0.7581, allocations: 147 kB / 1.1 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.7586, allocations: 171.6 kB / 1.1 GB, free: 49.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000611/0.7592, allocations: 0.7147 MB / 1.101 GB, free: 48.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.7603, allocations: 167.7 kB / 1.101 GB, free: 48.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.7604, allocations: 30.92 kB / 1.101 GB, free: 48.48 MB / 0.7448 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 (78): * Single equations (assignments): 77 * 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.0005416/0.761, allocations: 419.8 kB / 1.101 GB, free: 48.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.7611, allocations: 138.8 kB / 1.102 GB, free: 48.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.7654, allocations: 1.405 MB / 1.103 GB, free: 47.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.7654, allocations: 6.375 kB / 1.103 GB, free: 47.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7654, allocations: 3.938 kB / 1.103 GB, free: 47.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003782/0.7692, allocations: 1.227 MB / 1.104 GB, free: 47.26 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.7752, allocations: 2.73 MB / 1.107 GB, free: 46.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.7753, allocations: 3.594 kB / 1.107 GB, free: 46.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.7758, allocations: 121.1 kB / 1.107 GB, free: 46.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.7762, allocations: 147.4 kB / 1.107 GB, free: 46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.7763, allocations: 21.19 kB / 1.107 GB, free: 45.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/0.7803, allocations: 2.48 MB / 1.109 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.7804, allocations: 2.906 kB / 1.109 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.7853, allocations: 1.844 MB / 1.111 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/0.786, allocations: 336.4 kB / 1.112 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.7862, allocations: 21.89 kB / 1.112 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000816/0.787, allocations: 92.27 kB / 1.112 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.7872, allocations: 62.25 kB / 1.112 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.7872, allocations: 33.56 kB / 1.112 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001081/0.7883, allocations: 0.8574 MB / 1.113 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7883, allocations: 0 / 1.113 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001657/0.79, allocations: 0.7137 MB / 1.113 GB, free: 42.65 MB / 0.7448 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 (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.0007083/0.7907, allocations: 442.9 kB / 1.114 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.7929, allocations: 1.161 MB / 1.115 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7929, allocations: 0 / 1.115 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.7942, allocations: 0.6042 MB / 1.115 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/0.798, allocations: 0.7813 MB / 1.116 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.8013, allocations: 2.778 MB / 1.119 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.8018, allocations: 1.177 MB / 1.12 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001384/0.8032, allocations: 301.4 kB / 1.12 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.8035, allocations: 113.8 kB / 1.121 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of SimCode: time 1.473e-06/0.8035, allocations: 0 / 1.121 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of Templates: time 0.05288/0.8564, allocations: 31.83 MB / 1.152 GB, free: 35.03 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)