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.000831/0.0008312, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006232/0.006232, allocations: 171 kB / 16.27 MB, free: 6.324 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 7.562 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05523/0.3534, allocations: 59.79 MB / 1.133 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.3703, allocations: 11.93 MB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.3726, allocations: 55.62 kB / 1.144 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.3744, allocations: 0.5399 MB / 1.145 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.3798, allocations: 1.8 MB / 1.147 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.383, allocations: 1.073 MB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005602/0.3887, allocations: 3.906 MB / 1.151 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.3906, allocations: 0.9138 MB / 1.152 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.3935, allocations: 1.128 MB / 1.153 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.3952, allocations: 0.8514 MB / 1.154 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.3954, allocations: 44 kB / 1.154 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.3984, allocations: 1.337 MB / 1.156 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.3988, allocations: 218.8 kB / 1.156 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.3999, allocations: 0.6311 MB / 1.156 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.4031, allocations: 2.196 MB / 1.159 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4031, allocations: 7.875 kB / 1.159 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4031, allocations: 0 / 1.159 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.4032, allocations: 0 / 1.159 GB, free: 0.7812 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.002821/0.406, allocations: 1.485 MB / 1.16 GB, free: 15.24 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4061, allocations: 12.03 kB / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.4078, allocations: 387 kB / 1.16 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.4099, allocations: 1.124 MB / 1.161 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.4103, allocations: 129.9 kB / 1.162 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.4104, allocations: 83.94 kB / 1.162 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.4124, allocations: 0.9777 MB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4124, allocations: 3.984 kB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.4125, allocations: 32 kB / 1.163 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.4125, allocations: 20 kB / 1.163 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.4148, allocations: 0.847 MB / 1.163 GB, free: 11.54 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.00655/0.4213, allocations: 4.788 MB / 1.168 GB, free: 6.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.423, allocations: 0.5977 MB / 1.169 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.4237, allocations: 280.7 kB / 1.169 GB, free: 5.504 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.4251, allocations: 1.396 MB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4251, allocations: 50.44 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.335e-06/0.4251, allocations: 0 / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.008991/0.4341, allocations: 2.039 MB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4342, allocations: 59.41 kB / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.4359, allocations: 1.055 MB / 1.174 GB, free: 0.543 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.964e-05/0.436, allocations: 37.7 kB / 1.174 GB, free: 0.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.4364, allocations: 0.5275 MB / 1.174 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.4366, allocations: 149.8 kB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.4367, allocations: 45.7 kB / 1.174 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4368, allocations: 334 kB / 1.175 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/0.4376, allocations: 284.9 kB / 1.175 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009804/0.4386, allocations: 0.4981 MB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.4401, allocations: 0.6663 MB / 1.176 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4401, allocations: 0 / 1.176 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002905/0.443, allocations: 0.9693 MB / 1.177 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.4433, allocations: 213 kB / 1.177 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4433, allocations: 4 kB / 1.177 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.4447, allocations: 324.6 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.4452, allocations: 119.9 kB / 1.178 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.4468, allocations: 0.944 MB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.4484, allocations: 183.3 kB / 1.179 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.4485, allocations: 27.98 kB / 1.179 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4485, allocations: 4 kB / 1.179 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002365/0.4509, allocations: 0.8476 MB / 1.18 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4509, allocations: 4 kB / 1.18 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.4521, allocations: 328.9 kB / 1.18 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.4526, allocations: 115.8 kB / 1.18 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.4542, allocations: 0.9367 MB / 1.181 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.4554, allocations: 155.4 kB / 1.181 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.4555, allocations: 27.98 kB / 1.181 GB, free: 8.551 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.0006565/0.4562, allocations: 357.4 kB / 1.181 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.4564, allocations: 106.7 kB / 1.181 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.4603, allocations: 1.161 MB / 1.183 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.4603, allocations: 4 kB / 1.183 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4603, allocations: 0 / 1.183 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4603, allocations: 8.062 kB / 1.183 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.4654, allocations: 2.157 MB / 1.185 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4654, allocations: 4 kB / 1.185 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.4656, allocations: 56.19 kB / 1.185 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/0.4667, allocations: 326.3 kB / 1.185 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.4668, allocations: 15.94 kB / 1.185 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.4684, allocations: 0.9832 MB / 1.186 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4684, allocations: 0 / 1.186 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.4721, allocations: 1.187 MB / 1.187 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.4726, allocations: 279.4 kB / 1.187 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.4727, allocations: 8 kB / 1.187 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/0.4736, allocations: 103.8 kB / 1.188 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.4737, allocations: 43.83 kB / 1.188 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.4737, allocations: 27.98 kB / 1.188 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00121/0.4749, allocations: 0.7428 MB / 1.188 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.475, allocations: 0 / 1.188 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001581/0.4765, allocations: 0.5653 MB / 1.189 GB, free: 240 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 (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.0008427/0.4774, allocations: 407.8 kB / 1.189 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002899/0.4803, allocations: 1.058 MB / 1.19 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4803, allocations: 4 kB / 1.19 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.4811, allocations: 333.5 kB / 1.191 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.4841, allocations: 0.5006 MB / 1.191 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.4879, allocations: 2.257 MB / 1.193 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/0.4885, allocations: 1.058 MB / 1.194 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000986/0.4895, allocations: 214.9 kB / 1.195 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4897, allocations: 75.42 kB / 1.195 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of SimCode: time 2.895e-06/0.4897, allocations: 0 / 1.195 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.04117/0.5309, allocations: 24.1 MB / 1.218 GB, free: 2.438 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)