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.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 197.4 kB / 16.53 MB, free: 6.66 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61.28 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3596, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05944/0.4191, allocations: 61.23 MB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.4368, allocations: 12.01 MB / 1.14 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.4395, allocations: 55.69 kB / 1.14 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.4415, allocations: 0.683 MB / 1.14 GB, free: 224 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005742/0.4473, allocations: 1.967 MB / 1.142 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.4505, allocations: 1.189 MB / 1.143 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004073/0.4546, allocations: 3.075 MB / 1.146 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.4561, allocations: 1.108 MB / 1.148 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.4593, allocations: 1.33 MB / 1.149 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.4605, allocations: 0.8944 MB / 1.15 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.4607, allocations: 116 kB / 1.15 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.4643, allocations: 1.462 MB / 1.151 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.4646, allocations: 290.9 kB / 1.152 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008815/0.4655, allocations: 0.6919 MB / 1.152 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.4693, allocations: 2.279 MB / 1.154 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4693, allocations: 0 / 1.154 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4693, allocations: 0 / 1.154 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.4693, allocations: 0 / 1.154 GB, free: 1.762 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.003009/0.4723, allocations: 1.726 MB / 1.156 GB, free: 15.97 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4724, allocations: 8.031 kB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.4741, allocations: 351 kB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.476, allocations: 1.093 MB / 1.158 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.4763, allocations: 117.9 kB / 1.158 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.4764, allocations: 83.94 kB / 1.158 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.4783, allocations: 0.9742 MB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4783, allocations: 3.938 kB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.4784, allocations: 32 kB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.4784, allocations: 20 kB / 1.159 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.4804, allocations: 0.8118 MB / 1.16 GB, free: 12.38 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.005993/0.4864, allocations: 5.17 MB / 1.165 GB, free: 6.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.488, allocations: 0.5664 MB / 1.165 GB, free: 6.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.4886, allocations: 276.6 kB / 1.165 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.49, allocations: 1.365 MB / 1.167 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.49, allocations: 46.45 kB / 1.167 GB, free: 4.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.375e-06/0.49, allocations: 3.938 kB / 1.167 GB, free: 4.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.008118/0.4982, allocations: 1.821 MB / 1.169 GB, free: 2.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4982, allocations: 59.39 kB / 1.169 GB, free: 2.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.4998, allocations: 1.072 MB / 1.17 GB, free: 1.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.4998, allocations: 41.7 kB / 1.17 GB, free: 1.211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.5003, allocations: 0.5311 MB / 1.17 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.5004, allocations: 153.8 kB / 1.17 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.5006, allocations: 134.2 kB / 1.171 GB, free: 396 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5007, allocations: 330 kB / 1.171 GB, free: 60 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007976/0.5015, allocations: 279.3 kB / 1.171 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/0.5025, allocations: 0.5017 MB / 1.172 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.504, allocations: 0.6752 MB / 1.172 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.504, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002523/0.5065, allocations: 0.9655 MB / 1.173 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5065, allocations: 5.562 kB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.5066, allocations: 8 kB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.5079, allocations: 316.7 kB / 1.174 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.5083, allocations: 119.8 kB / 1.174 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.5099, allocations: 0.9249 MB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.511, allocations: 139.2 kB / 1.175 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.5111, allocations: 31.98 kB / 1.175 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001083/0.5122, allocations: 0.4901 MB / 1.175 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009344/0.5131, allocations: 0.4978 MB / 1.176 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001432/0.5146, allocations: 0.6549 MB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.5146, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002435/0.517, allocations: 0.9694 MB / 1.177 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5171, allocations: 8 kB / 1.177 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5171, allocations: 4 kB / 1.177 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.5182, allocations: 304.6 kB / 1.178 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.5187, allocations: 119.8 kB / 1.178 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.5201, allocations: 0.9094 MB / 1.179 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.5213, allocations: 132.5 kB / 1.179 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.5214, allocations: 35.98 kB / 1.179 GB, free: 7.582 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002274/0.5216, allocations: 224 kB / 1.179 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.5218, allocations: 106.7 kB / 1.179 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.5256, allocations: 1.08 MB / 1.18 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.5256, allocations: 7.938 kB / 1.18 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5257, allocations: 0 / 1.18 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5257, allocations: 3.984 kB / 1.18 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/0.5307, allocations: 2.06 MB / 1.182 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.5307, allocations: 4 kB / 1.182 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.5309, allocations: 55.91 kB / 1.182 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.532, allocations: 304.7 kB / 1.182 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.5321, allocations: 12 kB / 1.182 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.5336, allocations: 0.9559 MB / 1.183 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5336, allocations: 7.938 kB / 1.183 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.5371, allocations: 1.109 MB / 1.184 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.5376, allocations: 259.5 kB / 1.185 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.5379, allocations: 15.92 kB / 1.185 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/0.5387, allocations: 63.94 kB / 1.185 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.5388, allocations: 31.95 kB / 1.185 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.5389, allocations: 27.98 kB / 1.185 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001515/0.5404, allocations: 0.7512 MB / 1.186 GB, free: 324 kB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5404, allocations: 0 / 1.186 GB, free: 324 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001889/0.5423, allocations: 0.581 MB / 1.186 GB, free: 15.73 MB / 0.9512 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.0009935/0.5433, allocations: 406.8 kB / 1.187 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00313/0.5465, allocations: 1.065 MB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5465, allocations: 1.062 kB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008418/0.5473, allocations: 325.3 kB / 1.188 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.5498, allocations: 0.507 MB / 1.188 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.5535, allocations: 1.842 MB / 1.19 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.5542, allocations: 1.057 MB / 1.191 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001001/0.5553, allocations: 234.7 kB / 1.191 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.5554, allocations: 75.38 kB / 1.192 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.5555, allocations: 0 / 1.192 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.04526/0.6007, allocations: 25.15 MB / 1.216 GB, free: 1.309 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)