Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001609/0.001609, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002043/0.002043, allocations: 191.2 kB / 16.13 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.62 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3139, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05739/0.3713, allocations: 60.93 MB / 1.127 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.3876, allocations: 12.09 MB / 1.139 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.3896, allocations: 55.62 kB / 1.139 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.3914, allocations: 0.5477 MB / 1.139 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.3963, allocations: 1.812 MB / 1.141 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.399, allocations: 1.072 MB / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004318/0.4034, allocations: 3.916 MB / 1.146 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.4049, allocations: 0.9477 MB / 1.147 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.4074, allocations: 1.167 MB / 1.148 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.409, allocations: 0.906 MB / 1.149 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.4093, allocations: 56 kB / 1.149 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.4122, allocations: 1.341 MB / 1.15 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.4125, allocations: 238.9 kB / 1.151 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.4136, allocations: 0.645 MB / 1.151 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.4169, allocations: 2.244 MB / 1.153 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4169, allocations: 0 / 1.153 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.72e-07/0.417, allocations: 0 / 1.153 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.445e-05/0.417, allocations: 0 / 1.153 GB, free: 2.66 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.003723/0.4207, allocations: 1.738 MB / 1.155 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4208, allocations: 12.03 kB / 1.155 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.4232, allocations: 410.8 kB / 1.155 GB, free: 456 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.4256, allocations: 1.136 MB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.4259, allocations: 113.9 kB / 1.157 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.4261, allocations: 84 kB / 1.157 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.4284, allocations: 0.9973 MB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4284, allocations: 0 / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.4285, allocations: 32 kB / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.4285, allocations: 23.94 kB / 1.158 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.4312, allocations: 0.886 MB / 1.159 GB, free: 13.08 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.007152/0.4383, allocations: 4.863 MB / 1.163 GB, free: 7.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.4421, allocations: 0.8065 MB / 1.164 GB, free: 7.043 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008083/0.4429, allocations: 324.5 kB / 1.165 GB, free: 6.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006728/0.4436, allocations: 0.9025 MB / 1.165 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4436, allocations: 38.5 kB / 1.165 GB, free: 5.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 6.111e-06/0.4437, allocations: 7.984 kB / 1.165 GB, free: 5.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.008901/0.4526, allocations: 1.953 MB / 1.167 GB, free: 3.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.4526, allocations: 59.41 kB / 1.167 GB, free: 3.508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.4546, allocations: 1.056 MB / 1.168 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.4547, allocations: 41.64 kB / 1.168 GB, free: 2.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.4552, allocations: 0.5352 MB / 1.169 GB, free: 1.852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.4554, allocations: 145.8 kB / 1.169 GB, free: 1.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.4556, allocations: 134 kB / 1.169 GB, free: 1.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4557, allocations: 326 kB / 1.17 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.4567, allocations: 326.9 kB / 1.17 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.4581, allocations: 0.5178 MB / 1.17 GB, free: 328 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.4601, allocations: 0.7101 MB / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4601, allocations: 8 kB / 1.171 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003037/0.4631, allocations: 1.004 MB / 1.172 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4632, allocations: 5.094 kB / 1.172 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4632, allocations: 4.438 kB / 1.172 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.4645, allocations: 328.5 kB / 1.172 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.4651, allocations: 119.8 kB / 1.173 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.4667, allocations: 0.924 MB / 1.173 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.4682, allocations: 176.3 kB / 1.174 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/0.4683, allocations: 27.98 kB / 1.174 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/0.4696, allocations: 0.5283 MB / 1.174 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.4708, allocations: 0.5217 MB / 1.175 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001786/0.4726, allocations: 0.6951 MB / 1.175 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.4726, allocations: 8 kB / 1.175 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002901/0.4755, allocations: 1.011 MB / 1.176 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4755, allocations: 8 kB / 1.176 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4755, allocations: 8.422 kB / 1.176 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.4767, allocations: 312.7 kB / 1.177 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.4773, allocations: 123.8 kB / 1.177 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.4788, allocations: 0.9053 MB / 1.178 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.4802, allocations: 163.5 kB / 1.178 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/0.4803, allocations: 32 kB / 1.178 GB, free: 8.43 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.0002564/0.4806, allocations: 220.6 kB / 1.178 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.4809, allocations: 114.6 kB / 1.178 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/0.4851, allocations: 1.126 MB / 1.179 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.4851, allocations: 11.94 kB / 1.179 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4851, allocations: 3.938 kB / 1.179 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4851, allocations: 3.984 kB / 1.179 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005747/0.4909, allocations: 2.222 MB / 1.181 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.4909, allocations: 4 kB / 1.181 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.4913, allocations: 67.89 kB / 1.182 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.4923, allocations: 310.5 kB / 1.182 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.4924, allocations: 16 kB / 1.182 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.4939, allocations: 0.9442 MB / 1.183 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.494, allocations: 7.875 kB / 1.183 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.4979, allocations: 1.208 MB / 1.184 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.4985, allocations: 267.6 kB / 1.184 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.4988, allocations: 8 kB / 1.184 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.4998, allocations: 103.7 kB / 1.184 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5, allocations: 43.88 kB / 1.184 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/0.5, allocations: 23.98 kB / 1.184 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001651/0.5017, allocations: 0.7354 MB / 1.185 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.334e-06/0.5017, allocations: 8 kB / 1.185 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00273/0.5044, allocations: 0.5652 MB / 1.186 GB, free: 236 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 (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.001571/0.506, allocations: 376.5 kB / 1.186 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004015/0.5101, allocations: 1.144 MB / 1.187 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.5101, allocations: 0 / 1.187 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.5112, allocations: 368.5 kB / 1.187 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.5145, allocations: 0.4917 MB / 1.188 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.521, allocations: 2.451 MB / 1.19 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008545/0.5219, allocations: 1.069 MB / 1.191 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001159/0.5231, allocations: 222.6 kB / 1.192 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.5233, allocations: 75.42 kB / 1.192 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of SimCode: time 9.51e-07/0.5234, allocations: 0 / 1.192 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of Templates: time 0.04203/0.5654, allocations: 23.99 MB / 1.215 GB, free: 2.277 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)