Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008566/0.008567, allocations: 170.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 11.03 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3485, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07429/0.4228, allocations: 73.5 MB / 1.146 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.4434, allocations: 15.06 MB / 1.161 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.4461, allocations: 55.62 kB / 1.161 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.4485, allocations: 0.676 MB / 1.161 GB, free: 13.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007586/0.4561, allocations: 2.387 MB / 1.164 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.4599, allocations: 1.267 MB / 1.165 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007433/0.4673, allocations: 5.561 MB / 1.17 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.4696, allocations: 1.159 MB / 1.171 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.4729, allocations: 1.33 MB / 1.173 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.4751, allocations: 1.147 MB / 1.174 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00039/0.4755, allocations: 56 kB / 1.174 GB, free: 1.012 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.4789, allocations: 1.239 MB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.4794, allocations: 286.6 kB / 1.175 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.481, allocations: 0.7983 MB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004514/0.4856, allocations: 2.714 MB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4856, allocations: 0 / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4856, allocations: 0 / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.536e-05/0.4857, allocations: 0 / 1.179 GB, free: 11.96 MB / 0.9356 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.003985/0.4897, allocations: 1.78 MB / 1.181 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4897, allocations: 12.03 kB / 1.181 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/0.4907, allocations: 238.8 kB / 1.181 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.4936, allocations: 1.501 MB / 1.182 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.4937, allocations: 74 kB / 1.182 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.4938, allocations: 100 kB / 1.182 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.496, allocations: 1.12 MB / 1.184 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.4961, allocations: 4 kB / 1.184 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.4962, allocations: 40 kB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.4962, allocations: 24 kB / 1.184 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.4983, allocations: 0.9368 MB / 1.185 GB, free: 5.984 MB / 0.9356 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.006189/0.5045, allocations: 4.915 MB / 1.189 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.506, allocations: 0.6393 MB / 1.19 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.5068, allocations: 366.8 kB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.5075, allocations: 0.8316 MB / 1.191 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.5075, allocations: 47.12 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 3.296e-06/0.5075, allocations: 0 / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.007981/0.5155, allocations: 1.896 MB / 1.193 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5156, allocations: 59.97 kB / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.5176, allocations: 1.206 MB / 1.194 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.5178, allocations: 41.7 kB / 1.194 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000566/0.5183, allocations: 0.6104 MB / 1.195 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.5186, allocations: 220.7 kB / 1.195 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.5187, allocations: 61.69 kB / 1.195 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5188, allocations: 337.9 kB / 1.195 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.5196, allocations: 297.8 kB / 1.196 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/0.5205, allocations: 0.5103 MB / 1.196 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.522, allocations: 0.7558 MB / 1.197 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5221, allocations: 0 / 1.197 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005291/0.5274, allocations: 1.402 MB / 1.198 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.5275, allocations: 198.2 kB / 1.199 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5275, allocations: 4 kB / 1.199 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.5282, allocations: 144.7 kB / 1.199 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.5289, allocations: 171.8 kB / 1.199 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009807/0.5299, allocations: 0.7123 MB / 1.2 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.5313, allocations: 167 kB / 1.2 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.5314, allocations: 36 kB / 1.2 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5314, allocations: 4 kB / 1.2 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004996/0.5364, allocations: 1.253 MB / 1.201 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5365, allocations: 4 kB / 1.201 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.537, allocations: 149.2 kB / 1.201 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.5377, allocations: 163.8 kB / 1.201 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008862/0.5386, allocations: 0.7278 MB / 1.202 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.5399, allocations: 159.2 kB / 1.202 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.54, allocations: 32 kB / 1.202 GB, free: 3.086 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007775/0.5408, allocations: 417.4 kB / 1.203 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.5412, allocations: 142.2 kB / 1.203 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/0.5465, allocations: 1.4 MB / 1.204 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.5465, allocations: 8 kB / 1.204 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5465, allocations: 0 / 1.204 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004659/0.5512, allocations: 1.236 MB / 1.205 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008102/0.5593, allocations: 2.739 MB / 1.208 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.5594, allocations: 4 kB / 1.208 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.5599, allocations: 124.2 kB / 1.208 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.5604, allocations: 144.7 kB / 1.208 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.5605, allocations: 19.98 kB / 1.208 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005268/0.5658, allocations: 2.49 MB / 1.211 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5658, allocations: 4 kB / 1.211 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.572, allocations: 1.852 MB / 1.212 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.5728, allocations: 331.2 kB / 1.213 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.5732, allocations: 23.92 kB / 1.213 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.5743, allocations: 91.77 kB / 1.213 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5745, allocations: 68.34 kB / 1.213 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.5746, allocations: 31.92 kB / 1.213 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001523/0.5761, allocations: 0.8662 MB / 1.214 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/0.5761, allocations: 0 / 1.214 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002285/0.5784, allocations: 0.7057 MB / 1.215 GB, free: 5.996 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.5794, allocations: 463.1 kB / 1.215 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002951/0.5824, allocations: 1.176 MB / 1.216 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5824, allocations: 0 / 1.216 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.5841, allocations: 0.6034 MB / 1.217 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004737/0.5888, allocations: 0.785 MB / 1.217 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.5935, allocations: 2.821 MB / 1.22 GB, free: 84 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009894/0.5945, allocations: 1.187 MB / 1.221 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001442/0.596, allocations: 307 kB / 1.222 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.5964, allocations: 111.4 kB / 1.222 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of SimCode: time 7.12e-07/0.5964, allocations: 0 / 1.222 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.5931/1.189, allocations: 31.94 MB / 1.253 GB, free: 174 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)