Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001099/0.001099, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001153/0.001153, allocations: 191.2 kB / 16.25 MB, free: 6.621 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7448 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.97 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3448, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05607/0.4009, allocations: 60.74 MB / 1.127 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.4183, allocations: 11.93 MB / 1.139 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.421, allocations: 55.62 kB / 1.139 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.4231, allocations: 0.579 MB / 1.139 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005727/0.4289, allocations: 1.831 MB / 1.141 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.432, allocations: 1.098 MB / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00415/0.4361, allocations: 3.098 MB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.4376, allocations: 1.112 MB / 1.146 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.4408, allocations: 1.33 MB / 1.148 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.4421, allocations: 0.9334 MB / 1.148 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.4423, allocations: 120 kB / 1.149 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.4451, allocations: 1.462 MB / 1.15 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.4454, allocations: 294.8 kB / 1.15 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007464/0.4462, allocations: 0.6997 MB / 1.151 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.4495, allocations: 2.294 MB / 1.153 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4495, allocations: 0 / 1.153 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4495, allocations: 0 / 1.153 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.4496, allocations: 0 / 1.153 GB, free: 3.016 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.002948/0.4525, allocations: 1.734 MB / 1.155 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4526, allocations: 8.031 kB / 1.155 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.4543, allocations: 347 kB / 1.155 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.4564, allocations: 1.121 MB / 1.156 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.4568, allocations: 113.9 kB / 1.156 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.4569, allocations: 88 kB / 1.157 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.4589, allocations: 0.9504 MB / 1.157 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4589, allocations: 4 kB / 1.157 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.459, allocations: 32 kB / 1.157 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.459, allocations: 20 kB / 1.157 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.461, allocations: 0.8079 MB / 1.158 GB, free: 13.64 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.006253/0.4673, allocations: 4.741 MB / 1.163 GB, free: 8.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4688, allocations: 0.5774 MB / 1.163 GB, free: 7.953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.4694, allocations: 272.6 kB / 1.164 GB, free: 7.684 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.4708, allocations: 1.369 MB / 1.165 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4708, allocations: 46.45 kB / 1.165 GB, free: 5.965 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.4708, allocations: 0 / 1.165 GB, free: 5.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.008375/0.4792, allocations: 1.813 MB / 1.167 GB, free: 4.121 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4793, allocations: 59.41 kB / 1.167 GB, free: 4.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.4809, allocations: 1.055 MB / 1.168 GB, free: 2.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.87e-05/0.481, allocations: 37.7 kB / 1.168 GB, free: 2.938 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.4815, allocations: 0.5195 MB / 1.169 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.4816, allocations: 149.8 kB / 1.169 GB, free: 2.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.4818, allocations: 134.1 kB / 1.169 GB, free: 2.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.482, allocations: 326 kB / 1.169 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007452/0.4827, allocations: 270.9 kB / 1.169 GB, free: 1.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009308/0.4836, allocations: 482.1 kB / 1.17 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.485, allocations: 0.6272 MB / 1.17 GB, free: 308 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.485, allocations: 0 / 1.17 GB, free: 308 kB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00254/0.4876, allocations: 0.9261 MB / 1.171 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.4876, allocations: 5.562 kB / 1.171 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4877, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.4891, allocations: 320.9 kB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.4896, allocations: 111.8 kB / 1.172 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.4911, allocations: 0.9093 MB / 1.173 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4925, allocations: 167.3 kB / 1.173 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.4926, allocations: 31.98 kB / 1.173 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001175/0.4938, allocations: 485.1 kB / 1.173 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009415/0.4948, allocations: 485.8 kB / 1.174 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001407/0.4962, allocations: 0.6238 MB / 1.174 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.4962, allocations: 3.938 kB / 1.174 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002511/0.4987, allocations: 0.9259 MB / 1.175 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4988, allocations: 11.94 kB / 1.175 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4988, allocations: 4 kB / 1.175 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.4999, allocations: 300.8 kB / 1.176 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.5004, allocations: 111.8 kB / 1.176 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.5019, allocations: 0.9055 MB / 1.177 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.5032, allocations: 155.5 kB / 1.177 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.5033, allocations: 28 kB / 1.177 GB, free: 9.605 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.0002808/0.5036, allocations: 220.6 kB / 1.177 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.5039, allocations: 106.7 kB / 1.177 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.5077, allocations: 1.057 MB / 1.178 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.5077, allocations: 11.98 kB / 1.178 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5077, allocations: 0 / 1.178 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.5078, allocations: 3.938 kB / 1.178 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005212/0.513, allocations: 2.071 MB / 1.18 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.513, allocations: 4 kB / 1.18 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.5132, allocations: 51.91 kB / 1.18 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.5143, allocations: 312.7 kB / 1.18 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.5144, allocations: 16 kB / 1.18 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.5159, allocations: 0.9571 MB / 1.181 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5159, allocations: 4.031 kB / 1.181 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.5194, allocations: 1.105 MB / 1.183 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/0.52, allocations: 255.6 kB / 1.183 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.5203, allocations: 15.98 kB / 1.183 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5213, allocations: 91.75 kB / 1.183 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5214, allocations: 35.89 kB / 1.183 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.5215, allocations: 27.94 kB / 1.183 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001385/0.5229, allocations: 0.7389 MB / 1.184 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/0.5229, allocations: 0 / 1.184 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00197/0.5249, allocations: 0.5692 MB / 1.184 GB, free: 1.77 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.001028/0.5259, allocations: 393.1 kB / 1.185 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.5289, allocations: 1.023 MB / 1.186 GB, free: 376 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5289, allocations: 0 / 1.186 GB, free: 376 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/0.5297, allocations: 325.4 kB / 1.186 GB, free: 48 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.5323, allocations: 0.5028 MB / 1.186 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.5362, allocations: 2.214 MB / 1.189 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/0.5369, allocations: 1.061 MB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009538/0.5379, allocations: 218.4 kB / 1.19 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.5381, allocations: 75.42 kB / 1.19 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of SimCode: time 8.61e-07/0.5381, allocations: 0 / 1.19 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.04101/0.5791, allocations: 24.74 MB / 1.214 GB, free: 3.449 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)