Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.0008278, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009988/0.0009989, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 9.344 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3401, 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_LowTemperature): time 0.05871/0.3988, allocations: 59.83 MB / 1.133 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.4156, allocations: 11.95 MB / 1.144 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.4179, allocations: 55.62 kB / 1.144 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.4201, allocations: 0.5516 MB / 1.145 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.4256, allocations: 1.804 MB / 1.147 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003797/0.4294, allocations: 1.071 MB / 1.148 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006311/0.4357, allocations: 3.928 MB / 1.151 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.4377, allocations: 0.9189 MB / 1.152 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.4406, allocations: 1.124 MB / 1.153 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.4423, allocations: 0.8631 MB / 1.154 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.4427, allocations: 44 kB / 1.154 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.4461, allocations: 1.329 MB / 1.156 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.4466, allocations: 206.9 kB / 1.156 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.448, allocations: 0.6388 MB / 1.156 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.4523, allocations: 2.196 MB / 1.159 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4523, allocations: 4 kB / 1.159 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4523, allocations: 0 / 1.159 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.726e-05/0.4524, allocations: 0 / 1.159 GB, free: 0.7539 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003323/0.4557, allocations: 1.507 MB / 1.16 GB, free: 15.19 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4558, allocations: 15.97 kB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.4583, allocations: 474.8 kB / 1.161 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.4608, allocations: 1.136 MB / 1.162 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/0.4612, allocations: 133.9 kB / 1.162 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.4614, allocations: 80 kB / 1.162 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.4638, allocations: 1.029 MB / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4639, allocations: 0 / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.464, allocations: 36 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.464, allocations: 23.94 kB / 1.163 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.4668, allocations: 0.9524 MB / 1.164 GB, free: 11.23 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.007317/0.4741, allocations: 4.914 MB / 1.169 GB, free: 5.953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.4779, allocations: 0.9177 MB / 1.17 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008755/0.4788, allocations: 352.5 kB / 1.17 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.4795, allocations: 0.9025 MB / 1.171 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.4795, allocations: 38.5 kB / 1.171 GB, free: 3.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.4795, allocations: 0 / 1.171 GB, free: 3.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.009781/0.4893, allocations: 2.215 MB / 1.173 GB, free: 1.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.4894, allocations: 55.41 kB / 1.173 GB, free: 1.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.4915, allocations: 1.067 MB / 1.174 GB, free: 132 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.4916, allocations: 33.7 kB / 1.174 GB, free: 92 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/0.4922, allocations: 0.5352 MB / 1.175 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.4924, allocations: 149.8 kB / 1.175 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4925, allocations: 49.69 kB / 1.175 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4927, allocations: 330 kB / 1.175 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.4937, allocations: 344.9 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.495, allocations: 0.5529 MB / 1.176 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.4969, allocations: 0.7725 MB / 1.177 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4969, allocations: 0 / 1.177 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003089/0.5, allocations: 1.094 MB / 1.178 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.5002, allocations: 218.8 kB / 1.178 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5002, allocations: 4 kB / 1.178 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.5016, allocations: 339 kB / 1.178 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.5022, allocations: 139.8 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.5038, allocations: 0.9309 MB / 1.179 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.5054, allocations: 207.2 kB / 1.18 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/0.5055, allocations: 27.98 kB / 1.18 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5055, allocations: 4 kB / 1.18 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002707/0.5082, allocations: 0.9568 MB / 1.181 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.5082, allocations: 7.938 kB / 1.181 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.5094, allocations: 334.5 kB / 1.181 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.51, allocations: 139.8 kB / 1.181 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.5115, allocations: 0.9348 MB / 1.182 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5129, allocations: 176 kB / 1.182 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.513, allocations: 27.98 kB / 1.182 GB, free: 7.574 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0006208/0.5136, allocations: 353.5 kB / 1.182 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.5139, allocations: 110.6 kB / 1.183 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.5182, allocations: 1.251 MB / 1.184 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5182, allocations: 4 kB / 1.184 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5182, allocations: 3.938 kB / 1.184 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5183, allocations: 7.938 kB / 1.184 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.5242, allocations: 2.331 MB / 1.186 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.5242, allocations: 4 kB / 1.186 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.5245, allocations: 79.88 kB / 1.186 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.5256, allocations: 328.8 kB / 1.186 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.5257, allocations: 12 kB / 1.186 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.5273, allocations: 0.9673 MB / 1.187 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5273, allocations: 12.03 kB / 1.187 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.5314, allocations: 1.318 MB / 1.189 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.532, allocations: 283.5 kB / 1.189 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.5323, allocations: 8 kB / 1.189 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5334, allocations: 131.7 kB / 1.189 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.5335, allocations: 35.89 kB / 1.189 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.5335, allocations: 23.98 kB / 1.189 GB, free: 136 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001336/0.5349, allocations: 0.7471 MB / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5349, allocations: 0 / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00182/0.5367, allocations: 0.5652 MB / 1.19 GB, free: 14.81 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.0009932/0.5377, allocations: 389.7 kB / 1.191 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003675/0.5414, allocations: 1.231 MB / 1.192 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5414, allocations: 4 kB / 1.192 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.5425, allocations: 390.2 kB / 1.192 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.5455, allocations: 0.4997 MB / 1.193 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/0.5516, allocations: 2.555 MB / 1.195 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.5523, allocations: 1.069 MB / 1.196 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5534, allocations: 226.7 kB / 1.197 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.5536, allocations: 75.42 kB / 1.197 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.5536, allocations: 4 kB / 1.197 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.04257/0.5962, allocations: 24.12 MB / 1.22 GB, free: 488 kB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)