Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001346/0.001346, allocations: 195.2 kB / 16.14 MB, free: 6.688 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.52 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3222, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05482/0.3771, allocations: 60.87 MB / 1.127 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.393, allocations: 12.08 MB / 1.139 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.3951, allocations: 55.62 kB / 1.139 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.397, allocations: 0.5477 MB / 1.139 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00514/0.4021, allocations: 1.804 MB / 1.141 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.405, allocations: 1.073 MB / 1.142 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004688/0.4097, allocations: 3.906 MB / 1.146 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.4111, allocations: 0.9315 MB / 1.147 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.4135, allocations: 1.155 MB / 1.148 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.4148, allocations: 0.8943 MB / 1.149 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.4149, allocations: 56 kB / 1.149 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.4177, allocations: 1.364 MB / 1.15 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.4179, allocations: 238.9 kB / 1.15 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007055/0.4186, allocations: 0.6372 MB / 1.151 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.4218, allocations: 2.244 MB / 1.153 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4218, allocations: 0 / 1.153 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4218, allocations: 3.938 kB / 1.153 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.4218, allocations: 0 / 1.153 GB, free: 2.758 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002984/0.4248, allocations: 1.726 MB / 1.155 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4248, allocations: 11.97 kB / 1.155 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.4266, allocations: 343 kB / 1.155 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.4287, allocations: 1.117 MB / 1.156 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.4291, allocations: 121.9 kB / 1.157 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4292, allocations: 80 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.4311, allocations: 0.9466 MB / 1.158 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4312, allocations: 3.938 kB / 1.158 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.4313, allocations: 32 kB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.4313, allocations: 23.98 kB / 1.158 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.4334, allocations: 0.808 MB / 1.158 GB, free: 13.39 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.006223/0.4397, allocations: 4.745 MB / 1.163 GB, free: 8.297 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.4412, allocations: 0.5725 MB / 1.164 GB, free: 7.715 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.4419, allocations: 286.1 kB / 1.164 GB, free: 7.434 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.4433, allocations: 1.369 MB / 1.165 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4433, allocations: 42.45 kB / 1.165 GB, free: 5.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 3.436e-06/0.4433, allocations: 4 kB / 1.165 GB, free: 5.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.008478/0.4518, allocations: 1.813 MB / 1.167 GB, free: 3.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4519, allocations: 63.33 kB / 1.167 GB, free: 3.797 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.4539, allocations: 1.051 MB / 1.168 GB, free: 2.73 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.454, allocations: 37.7 kB / 1.168 GB, free: 2.688 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.4546, allocations: 0.5234 MB / 1.169 GB, free: 2.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.4548, allocations: 149.8 kB / 1.169 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.4551, allocations: 122.1 kB / 1.169 GB, free: 1.887 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4553, allocations: 330 kB / 1.169 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/0.4561, allocations: 274.9 kB / 1.169 GB, free: 1.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.4571, allocations: 478.1 kB / 1.17 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.4585, allocations: 0.635 MB / 1.171 GB, free: 48 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4585, allocations: 0 / 1.171 GB, free: 48 kB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002558/0.4611, allocations: 0.9225 MB / 1.171 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4611, allocations: 8.062 kB / 1.171 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4611, allocations: 4 kB / 1.171 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.4625, allocations: 318.6 kB / 1.172 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.463, allocations: 107.8 kB / 1.172 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.4645, allocations: 0.9152 MB / 1.173 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.4659, allocations: 159.3 kB / 1.173 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/0.466, allocations: 27.98 kB / 1.173 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001196/0.4672, allocations: 489.1 kB / 1.173 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009526/0.4682, allocations: 481.8 kB / 1.174 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001421/0.4696, allocations: 0.6318 MB / 1.174 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.4696, allocations: 0 / 1.174 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002572/0.4722, allocations: 0.9216 MB / 1.175 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4722, allocations: 11.94 kB / 1.175 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4722, allocations: 4 kB / 1.175 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.4734, allocations: 303 kB / 1.176 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.4739, allocations: 115.8 kB / 1.176 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.4754, allocations: 0.9036 MB / 1.177 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.4768, allocations: 151.5 kB / 1.177 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.4769, allocations: 24.09 kB / 1.177 GB, free: 9.367 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0002549/0.4771, allocations: 232.5 kB / 1.177 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.4774, allocations: 106.7 kB / 1.177 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.4812, allocations: 1.065 MB / 1.178 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.4812, allocations: 8 kB / 1.178 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4812, allocations: 0 / 1.178 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4812, allocations: 3.938 kB / 1.178 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.4865, allocations: 2.067 MB / 1.18 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4865, allocations: 4 kB / 1.18 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.4867, allocations: 55.91 kB / 1.18 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.4878, allocations: 302.5 kB / 1.181 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.4879, allocations: 15.98 kB / 1.181 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.4894, allocations: 0.9541 MB / 1.182 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4894, allocations: 3.938 kB / 1.182 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.4932, allocations: 1.105 MB / 1.183 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.4938, allocations: 259.5 kB / 1.183 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.4941, allocations: 12 kB / 1.183 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4951, allocations: 91.75 kB / 1.183 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.4952, allocations: 39.94 kB / 1.183 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.606e-05/0.4953, allocations: 27.92 kB / 1.183 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001405/0.4967, allocations: 0.735 MB / 1.184 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.144e-06/0.4967, allocations: 0 / 1.184 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001832/0.4986, allocations: 0.5652 MB / 1.184 GB, free: 1.527 MB / 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.4996, allocations: 409.5 kB / 1.185 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.5027, allocations: 0.9954 MB / 1.186 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5027, allocations: 4 kB / 1.186 GB, free: 136 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.5035, allocations: 321.4 kB / 1.186 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.5063, allocations: 0.4922 MB / 1.186 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.5102, allocations: 2.215 MB / 1.189 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.511, allocations: 1.058 MB / 1.19 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001009/0.512, allocations: 215.2 kB / 1.19 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.5122, allocations: 67.44 kB / 1.19 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of SimCode: time 8.42e-07/0.5122, allocations: 0 / 1.19 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.04337/0.5556, allocations: 23.97 MB / 1.213 GB, free: 3.992 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)