Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001599/0.001599, allocations: 193.9 kB / 16.14 MB, free: 6.703 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 70.17 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3517, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05633/0.408, allocations: 60.94 MB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.4262, allocations: 12.08 MB / 1.139 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.4288, allocations: 55.62 kB / 1.139 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.4325, allocations: 0.5477 MB / 1.139 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008172/0.4408, allocations: 1.804 MB / 1.141 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.4445, allocations: 1.087 MB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005581/0.4501, allocations: 3.912 MB / 1.146 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.4521, allocations: 0.9516 MB / 1.147 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.455, allocations: 1.167 MB / 1.148 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.4568, allocations: 0.9021 MB / 1.149 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.4571, allocations: 56 kB / 1.149 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.4603, allocations: 1.337 MB / 1.15 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.4607, allocations: 238.9 kB / 1.151 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.462, allocations: 0.6411 MB / 1.151 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.4657, allocations: 2.247 MB / 1.153 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4657, allocations: 0 / 1.153 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4657, allocations: 0 / 1.153 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.776e-05/0.4657, allocations: 0 / 1.153 GB, free: 2.684 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003838/0.4696, allocations: 1.738 MB / 1.155 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4696, allocations: 12.03 kB / 1.155 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.4721, allocations: 410.8 kB / 1.156 GB, free: 480 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.475, allocations: 1.132 MB / 1.157 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/0.4754, allocations: 117.9 kB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.4756, allocations: 80 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.4779, allocations: 1.005 MB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.478, allocations: 3.938 kB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.4781, allocations: 32 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.4781, allocations: 20 kB / 1.158 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.4807, allocations: 0.886 MB / 1.159 GB, free: 13.1 MB / 0.92 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.00717/0.4879, allocations: 4.863 MB / 1.163 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/0.4915, allocations: 0.8082 MB / 1.164 GB, free: 7.059 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/0.4924, allocations: 324.5 kB / 1.165 GB, free: 6.738 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/0.4931, allocations: 0.8986 MB / 1.165 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.4931, allocations: 38.5 kB / 1.165 GB, free: 5.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.855e-06/0.4931, allocations: 4 kB / 1.165 GB, free: 5.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.00889/0.502, allocations: 1.957 MB / 1.167 GB, free: 3.598 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.5021, allocations: 59.34 kB / 1.167 GB, free: 3.527 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.5041, allocations: 1.06 MB / 1.168 GB, free: 2.453 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.5042, allocations: 33.7 kB / 1.169 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.5047, allocations: 0.5313 MB / 1.169 GB, free: 1.879 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.5049, allocations: 149.8 kB / 1.169 GB, free: 1.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.5051, allocations: 134 kB / 1.169 GB, free: 1.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5052, allocations: 322 kB / 1.17 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009732/0.5062, allocations: 322.9 kB / 1.17 GB, free: 0.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5073, allocations: 0.5255 MB / 1.17 GB, free: 352 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.5092, allocations: 0.7061 MB / 1.171 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5092, allocations: 8 kB / 1.171 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003021/0.5122, allocations: 1.016 MB / 1.172 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.5123, allocations: 5.25 kB / 1.172 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5123, allocations: 4.438 kB / 1.172 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.5137, allocations: 320.6 kB / 1.172 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.5143, allocations: 123.8 kB / 1.173 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.5158, allocations: 0.9168 MB / 1.173 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.5173, allocations: 179.9 kB / 1.174 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.5174, allocations: 27.98 kB / 1.174 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001324/0.5187, allocations: 0.5244 MB / 1.174 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001133/0.5199, allocations: 0.5256 MB / 1.175 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001778/0.5217, allocations: 0.699 MB / 1.175 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.732e-06/0.5217, allocations: 8 kB / 1.175 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002901/0.5246, allocations: 1.007 MB / 1.176 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5246, allocations: 8 kB / 1.176 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5246, allocations: 4.438 kB / 1.176 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.5258, allocations: 308.7 kB / 1.177 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.5264, allocations: 127.8 kB / 1.177 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.5278, allocations: 0.9135 MB / 1.178 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.5294, allocations: 163.5 kB / 1.178 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/0.5295, allocations: 27.98 kB / 1.178 GB, free: 8.457 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003199/0.5299, allocations: 221.2 kB / 1.178 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.5302, allocations: 118.6 kB / 1.178 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/0.5346, allocations: 1.13 MB / 1.179 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/0.5346, allocations: 15.92 kB / 1.179 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.5346, allocations: 0 / 1.179 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5346, allocations: 0 / 1.179 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006058/0.5407, allocations: 2.218 MB / 1.181 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.5407, allocations: 4 kB / 1.181 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.5411, allocations: 71.88 kB / 1.182 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.5421, allocations: 306.7 kB / 1.182 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.5422, allocations: 12 kB / 1.182 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.5437, allocations: 0.9424 MB / 1.183 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.5437, allocations: 11.91 kB / 1.183 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.5476, allocations: 1.201 MB / 1.184 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.5483, allocations: 263.6 kB / 1.184 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.5485, allocations: 23.92 kB / 1.184 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.5496, allocations: 99.73 kB / 1.184 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5497, allocations: 43.89 kB / 1.184 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.5498, allocations: 23.98 kB / 1.184 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001343/0.5511, allocations: 0.7354 MB / 1.185 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5512, allocations: 4 kB / 1.185 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001888/0.553, allocations: 0.5652 MB / 1.186 GB, free: 264 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009442/0.554, allocations: 378.2 kB / 1.186 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.5575, allocations: 1.14 MB / 1.187 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.5575, allocations: 0 / 1.187 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5587, allocations: 368.5 kB / 1.187 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.562, allocations: 0.5099 MB / 1.188 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/0.5686, allocations: 2.443 MB / 1.19 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.5694, allocations: 1.069 MB / 1.191 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001128/0.5705, allocations: 223.2 kB / 1.192 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.5708, allocations: 71.42 kB / 1.192 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.5708, allocations: 0 / 1.192 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of Templates: time 0.04322/0.614, allocations: 24 MB / 1.215 GB, free: 2.293 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)