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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 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.001167/0.001167, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.8 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3683, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05588/0.4242, allocations: 61.23 MB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.4417, allocations: 12.02 MB / 1.14 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.4446, allocations: 59.62 kB / 1.14 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.4469, allocations: 0.6752 MB / 1.14 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006135/0.453, allocations: 1.963 MB / 1.142 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.4565, allocations: 1.205 MB / 1.144 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004673/0.4611, allocations: 3.074 MB / 1.147 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.4628, allocations: 1.1 MB / 1.148 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.4662, allocations: 1.332 MB / 1.149 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.4676, allocations: 0.8867 MB / 1.15 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.4678, allocations: 116 kB / 1.15 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.4707, allocations: 1.462 MB / 1.151 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.471, allocations: 294.8 kB / 1.152 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.4718, allocations: 0.6958 MB / 1.152 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.4754, allocations: 2.275 MB / 1.154 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4754, allocations: 0 / 1.154 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4754, allocations: 0 / 1.154 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.306e-05/0.4755, allocations: 0 / 1.154 GB, free: 1.773 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.003222/0.4787, allocations: 1.73 MB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4788, allocations: 8.031 kB / 1.156 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.4805, allocations: 350.9 kB / 1.157 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.4826, allocations: 1.093 MB / 1.158 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.483, allocations: 121.9 kB / 1.158 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.4831, allocations: 80 kB / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.485, allocations: 0.9781 MB / 1.159 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.485, allocations: 4 kB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.4851, allocations: 32 kB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4851, allocations: 20 kB / 1.159 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.4871, 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.006402/0.4935, allocations: 5.16 MB / 1.165 GB, free: 6.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.4952, allocations: 0.5706 MB / 1.165 GB, free: 6.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.4958, allocations: 278 kB / 1.165 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.4972, allocations: 1.365 MB / 1.167 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.4973, allocations: 50.39 kB / 1.167 GB, free: 4.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 4.85e-06/0.4973, allocations: 0 / 1.167 GB, free: 4.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.008576/0.5059, allocations: 1.821 MB / 1.169 GB, free: 2.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.506, allocations: 55.41 kB / 1.169 GB, free: 2.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.5078, allocations: 1.075 MB / 1.17 GB, free: 1.266 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.229e-05/0.5079, allocations: 45.7 kB / 1.17 GB, free: 1.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.5083, allocations: 0.5349 MB / 1.17 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.5085, allocations: 153.8 kB / 1.17 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.5087, allocations: 130.2 kB / 1.171 GB, free: 400 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5088, allocations: 334 kB / 1.171 GB, free: 60 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/0.5097, allocations: 279.3 kB / 1.171 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009781/0.5106, allocations: 0.5017 MB / 1.172 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.5122, allocations: 0.6675 MB / 1.172 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.5122, allocations: 8 kB / 1.172 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002619/0.5148, allocations: 0.9655 MB / 1.173 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5148, allocations: 4 kB / 1.173 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5149, allocations: 8 kB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.5162, allocations: 313.9 kB / 1.174 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.5167, allocations: 119.8 kB / 1.174 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.5182, allocations: 0.9246 MB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.5195, allocations: 143.2 kB / 1.175 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.5196, allocations: 27.98 kB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/0.5207, allocations: 0.4934 MB / 1.175 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009628/0.5217, allocations: 0.4978 MB / 1.176 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001432/0.5231, allocations: 0.6549 MB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.5232, allocations: 4 kB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002715/0.5259, allocations: 0.9616 MB / 1.177 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5259, allocations: 8 kB / 1.177 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5259, allocations: 4 kB / 1.177 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.5272, allocations: 312.6 kB / 1.178 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.5277, allocations: 119.8 kB / 1.178 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.5294, allocations: 0.9055 MB / 1.179 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5309, allocations: 131.5 kB / 1.179 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.531, allocations: 31.98 kB / 1.179 GB, free: 7.59 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.000388/0.5314, allocations: 228 kB / 1.179 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.5317, allocations: 106.7 kB / 1.179 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.5357, allocations: 1.077 MB / 1.18 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.5357, allocations: 4 kB / 1.18 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5357, allocations: 0 / 1.18 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5358, allocations: 3.984 kB / 1.18 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005207/0.541, allocations: 2.06 MB / 1.182 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.541, allocations: 8.281 kB / 1.182 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.5412, allocations: 55.91 kB / 1.182 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.5423, allocations: 309.5 kB / 1.182 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.5424, allocations: 12 kB / 1.182 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.5439, allocations: 0.9559 MB / 1.183 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.544, allocations: 7.938 kB / 1.183 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.5475, allocations: 1.097 MB / 1.184 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/0.5481, allocations: 259.5 kB / 1.185 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5482, allocations: 15.94 kB / 1.185 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.549, allocations: 67.92 kB / 1.185 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.5491, allocations: 35.89 kB / 1.185 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.5492, allocations: 23.98 kB / 1.185 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001232/0.5504, allocations: 0.7551 MB / 1.186 GB, free: 328 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5504, allocations: 0 / 1.186 GB, free: 328 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001872/0.5523, 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.0009242/0.5532, allocations: 402.8 kB / 1.187 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003078/0.5563, allocations: 1.061 MB / 1.188 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5564, allocations: 0 / 1.188 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.5572, allocations: 326.4 kB / 1.188 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.5598, allocations: 0.5117 MB / 1.188 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.5635, allocations: 1.842 MB / 1.19 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.5642, allocations: 1.065 MB / 1.191 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001008/0.5652, allocations: 219.8 kB / 1.191 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.5654, allocations: 79.42 kB / 1.192 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/0.5654, allocations: 0 / 1.192 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of Templates: time 0.04462/0.61, allocations: 25.16 MB / 1.216 GB, free: 1.32 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)