Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008187/0.0008187, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008814/0.0008814, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8448/0.8448, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002718, allocations: 8 kB / 0.5158 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 83.41 MB / 0.5972 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.2558/0.3764, allocations: 69.4 MB / 0.665 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.3928, allocations: 14.21 MB / 0.6789 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.3945, allocations: 57.19 kB / 0.6789 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.3962, allocations: 0.5585 MB / 0.6795 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.401, allocations: 1.98 MB / 0.6814 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.4035, allocations: 0.9791 MB / 0.6824 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005474/0.409, allocations: 4.808 MB / 0.6871 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.4107, allocations: 1.019 MB / 0.6881 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.4132, allocations: 1.274 MB / 0.6893 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.4151, allocations: 1.087 MB / 0.6904 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.4152, allocations: 55 kB / 0.6904 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.4173, allocations: 0.9203 MB / 0.6913 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.4176, allocations: 276.5 kB / 0.6916 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.4179, allocations: 356.3 kB / 0.6919 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.4201, allocations: 2.223 MB / 0.6941 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4201, allocations: 4 kB / 0.6941 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4201, allocations: 0 / 0.6941 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.244e-05/0.4202, allocations: 1.219 kB / 0.6941 GB, free: 14.96 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002838/0.423, allocations: 1.799 MB / 0.6959 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.423, allocations: 8.531 kB / 0.6959 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/0.4237, allocations: 249.4 kB / 0.6961 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.4258, allocations: 1.444 MB / 0.6975 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.4259, allocations: 76.94 kB / 0.6976 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.426, allocations: 105.2 kB / 0.6977 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.4279, allocations: 1.113 MB / 0.6988 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.4279, allocations: 5.25 kB / 0.6988 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.428, allocations: 37.03 kB / 0.6988 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.4281, allocations: 32.38 kB / 0.6989 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.4297, allocations: 0.9246 MB / 0.6998 GB, free: 11.91 MB / 0.5294 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.004983/0.4347, allocations: 4.911 MB / 0.7046 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.436, allocations: 0.6512 MB / 0.7052 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.4366, allocations: 362.2 kB / 0.7055 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.4372, allocations: 0.827 MB / 0.7063 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4372, allocations: 39.22 kB / 0.7064 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.813e-06/0.4372, allocations: 0 / 0.7064 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.005875/0.4431, allocations: 1.897 MB / 0.7082 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.4432, allocations: 61.5 kB / 0.7083 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.4446, allocations: 1.191 MB / 0.7095 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.4446, allocations: 43.45 kB / 0.7095 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.4451, allocations: 0.6002 MB / 0.7101 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.4453, allocations: 218.6 kB / 0.7103 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.4453, allocations: 16 kB / 0.7103 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.4454, allocations: 331.9 kB / 0.7106 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.446, allocations: 294.2 kB / 0.7109 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.4468, allocations: 0.5116 MB / 0.7114 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.4474, allocations: 363.2 kB / 0.7117 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4474, allocations: 1.188 kB / 0.7117 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003871/0.4513, allocations: 1.4 MB / 0.7131 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.952e-05/0.4514, allocations: 192.9 kB / 0.7133 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4514, allocations: 3.469 kB / 0.7133 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.4519, allocations: 146.3 kB / 0.7134 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.4525, allocations: 165.1 kB / 0.7136 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007012/0.4532, allocations: 0.7183 MB / 0.7143 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/0.4541, allocations: 168 kB / 0.7145 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.4542, allocations: 31.17 kB / 0.7145 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.4542, allocations: 4.375 kB / 0.7145 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003604/0.4578, allocations: 1.251 MB / 0.7157 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4578, allocations: 7.297 kB / 0.7157 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.4582, allocations: 138.8 kB / 0.7159 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.4587, allocations: 177.5 kB / 0.716 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000638/0.4594, allocations: 0.7096 MB / 0.7167 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.4602, allocations: 167.7 kB / 0.7169 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.4602, allocations: 32.95 kB / 0.7169 GB, free: 15.97 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.4607, allocations: 419.2 kB / 0.7173 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.4609, allocations: 134.8 kB / 0.7174 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.4647, allocations: 1.404 MB / 0.7188 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4647, allocations: 10.86 kB / 0.7188 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4647, allocations: 3.953 kB / 0.7188 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003451/0.4682, allocations: 1.23 MB / 0.72 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.4735, allocations: 2.749 MB / 0.7227 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4735, allocations: 0 / 0.7227 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.4739, allocations: 123.8 kB / 0.7228 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.4743, allocations: 137 kB / 0.723 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.4744, allocations: 23.92 kB / 0.723 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.4783, allocations: 2.474 MB / 0.7254 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4784, allocations: 7.938 kB / 0.7254 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.4827, allocations: 1.848 MB / 0.7272 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.4831, allocations: 335.1 kB / 0.7275 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.4833, allocations: 20 kB / 0.7275 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.484, allocations: 95.83 kB / 0.7276 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4842, allocations: 60.3 kB / 0.7277 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.4842, allocations: 27.98 kB / 0.7277 GB, free: 5.684 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009858/0.4852, allocations: 0.8584 MB / 0.7286 GB, free: 4.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4852, allocations: 0 / 0.7286 GB, free: 4.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001564/0.4868, allocations: 0.7135 MB / 0.7293 GB, free: 4.109 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007275/0.4875, allocations: 437.1 kB / 0.7297 GB, free: 3.695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002175/0.4897, allocations: 1.161 MB / 0.7308 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4897, allocations: 0 / 0.7308 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.491, allocations: 0.6034 MB / 0.7314 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.4938, allocations: 0.7531 MB / 0.7321 GB, free: 1.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.4972, allocations: 2.779 MB / 0.7348 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.4979, allocations: 1.171 MB / 0.736 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001016/0.4989, allocations: 313.1 kB / 0.7363 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.4991, allocations: 103.4 kB / 0.7364 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.4991, allocations: 0 / 0.7364 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of Templates: time 0.03959/0.5387, allocations: 29.69 MB / 0.7654 GB, free: 15.41 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)