Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009875/0.009875, allocations: 170 kB / 16.26 MB, free: 6.613 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 13.5 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3361, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05605/0.3922, allocations: 59.8 MB / 1.133 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.4091, allocations: 11.94 MB / 1.144 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.4116, allocations: 51.69 kB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.4134, allocations: 0.5516 MB / 1.145 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005358/0.4188, allocations: 1.8 MB / 1.147 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.4227, allocations: 1.077 MB / 1.148 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005602/0.4283, allocations: 3.898 MB / 1.151 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.4297, allocations: 0.9099 MB / 1.152 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.4322, allocations: 1.124 MB / 1.153 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.4334, allocations: 0.8515 MB / 1.154 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.4335, allocations: 40 kB / 1.154 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.4363, allocations: 1.341 MB / 1.156 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.4366, allocations: 226.8 kB / 1.156 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007438/0.4373, allocations: 0.6234 MB / 1.156 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.4406, allocations: 2.2 MB / 1.159 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4406, allocations: 3.938 kB / 1.159 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4406, allocations: 0 / 1.159 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.4407, allocations: 0 / 1.159 GB, free: 0.8438 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.002737/0.4434, allocations: 1.485 MB / 1.16 GB, free: 15.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4434, allocations: 12.03 kB / 1.16 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.4457, allocations: 462.9 kB / 1.16 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.4478, allocations: 1.14 MB / 1.162 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.4482, allocations: 129.9 kB / 1.162 GB, free: 13.51 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4483, allocations: 83.94 kB / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.4504, allocations: 1.009 MB / 1.163 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.4505, allocations: 0 / 1.163 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.4505, allocations: 32 kB / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.4506, allocations: 20 kB / 1.163 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.453, allocations: 0.9173 MB / 1.164 GB, free: 11.41 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.006384/0.4594, allocations: 4.895 MB / 1.168 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/0.4631, allocations: 0.91 MB / 1.169 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.4639, allocations: 332.6 kB / 1.17 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.4645, allocations: 0.9024 MB / 1.171 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4646, allocations: 42.56 kB / 1.171 GB, free: 3.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.4646, allocations: 0 / 1.171 GB, free: 3.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.009476/0.4741, allocations: 2.168 MB / 1.173 GB, free: 1.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.4741, allocations: 67.33 kB / 1.173 GB, free: 1.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.4761, allocations: 1.055 MB / 1.174 GB, free: 412 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.4762, allocations: 33.7 kB / 1.174 GB, free: 372 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.4767, allocations: 0.5235 MB / 1.174 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.4769, allocations: 149.8 kB / 1.174 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.477, allocations: 49.69 kB / 1.175 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4772, allocations: 330 kB / 1.175 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4782, allocations: 324.9 kB / 1.175 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.4794, allocations: 0.5333 MB / 1.176 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.4812, allocations: 0.7287 MB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4812, allocations: 4 kB / 1.176 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003057/0.4843, allocations: 1.051 MB / 1.177 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.4845, allocations: 204.5 kB / 1.178 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4845, allocations: 4 kB / 1.178 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.486, allocations: 344.5 kB / 1.178 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.4865, allocations: 123.9 kB / 1.178 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.4881, allocations: 0.9363 MB / 1.179 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.4896, allocations: 207.1 kB / 1.179 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.4897, allocations: 27.98 kB / 1.179 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4897, allocations: 5.25 kB / 1.179 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00256/0.4923, allocations: 0.91 MB / 1.18 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.4923, allocations: 4 kB / 1.18 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.4935, allocations: 337 kB / 1.18 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.4941, allocations: 131.8 kB / 1.181 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.4956, allocations: 0.9328 MB / 1.181 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.497, allocations: 175.3 kB / 1.182 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.4971, allocations: 27.98 kB / 1.182 GB, free: 8.066 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.0006242/0.4977, allocations: 356.9 kB / 1.182 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.498, allocations: 110.6 kB / 1.182 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.5021, allocations: 1.209 MB / 1.183 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.5021, allocations: 11.88 kB / 1.183 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5022, allocations: 0 / 1.183 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.5022, allocations: 3.984 kB / 1.183 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/0.5079, allocations: 2.3 MB / 1.186 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.5079, allocations: 7.938 kB / 1.186 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.5082, allocations: 67.89 kB / 1.186 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.5093, allocations: 328.8 kB / 1.186 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.5094, allocations: 16 kB / 1.186 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.5109, allocations: 0.9675 MB / 1.187 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.511, allocations: 7.969 kB / 1.187 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.515, allocations: 1.286 MB / 1.188 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.5156, allocations: 279.5 kB / 1.188 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.5158, allocations: 11.94 kB / 1.188 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5168, allocations: 119.7 kB / 1.189 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.5169, allocations: 35.89 kB / 1.189 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.517, allocations: 27.98 kB / 1.189 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00136/0.5184, allocations: 0.7428 MB / 1.189 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5184, allocations: 0 / 1.189 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001804/0.5202, allocations: 0.5692 MB / 1.19 GB, free: 15.42 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008963/0.5211, allocations: 376.9 kB / 1.19 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003424/0.5245, allocations: 1.177 MB / 1.191 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5245, allocations: 4.062 kB / 1.191 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.5255, allocations: 370.1 kB / 1.192 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/0.5286, allocations: 0.5149 MB / 1.192 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.5347, allocations: 2.534 MB / 1.195 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.5354, allocations: 1.062 MB / 1.196 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001021/0.5365, allocations: 220.6 kB / 1.196 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.5367, allocations: 79.36 kB / 1.196 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/0.5367, allocations: 0 / 1.196 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of Templates: time 0.04278/0.5795, allocations: 24.08 MB / 1.22 GB, free: 1.195 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)