Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001093/0.001093, allocations: 196.5 kB / 16.25 MB, free: 6.621 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.616/1.616, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 61.84 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05711/0.376, allocations: 62.1 MB / 1.128 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.3961, allocations: 13.57 MB / 1.142 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.3987, allocations: 55.69 kB / 1.142 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.4015, allocations: 0.8277 MB / 1.142 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.4082, allocations: 2.224 MB / 1.145 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.4122, allocations: 1.504 MB / 1.146 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005175/0.4173, allocations: 4.306 MB / 1.15 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.4192, allocations: 1.41 MB / 1.152 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.4226, allocations: 1.668 MB / 1.153 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.4242, allocations: 1.338 MB / 1.155 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.4244, allocations: 172 kB / 1.155 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.4271, allocations: 1.446 MB / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.4276, allocations: 0.5101 MB / 1.157 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009743/0.4285, allocations: 1.011 MB / 1.158 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.4322, allocations: 3.143 MB / 1.161 GB, free: 11.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4322, allocations: 4 kB / 1.161 GB, free: 11.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4322, allocations: 0 / 1.161 GB, free: 11.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.4323, allocations: 0 / 1.161 GB, free: 11.18 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004194/0.4365, allocations: 2.337 MB / 1.163 GB, free: 8.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4365, allocations: 8.031 kB / 1.163 GB, free: 8.777 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.4379, allocations: 318.4 kB / 1.163 GB, free: 8.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.4401, allocations: 1.447 MB / 1.165 GB, free: 6.965 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.4403, allocations: 161.5 kB / 1.165 GB, free: 6.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.4405, allocations: 108 kB / 1.165 GB, free: 6.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.4433, allocations: 1.437 MB / 1.166 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4434, allocations: 11.92 kB / 1.166 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.4435, allocations: 48 kB / 1.166 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.4436, allocations: 28 kB / 1.166 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.4467, allocations: 1.331 MB / 1.168 GB, free: 3.742 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.00789/0.4546, allocations: 6.639 MB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.4568, allocations: 1.168 MB / 1.175 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.4581, allocations: 0.5661 MB / 1.176 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008207/0.459, allocations: 1.149 MB / 1.177 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.459, allocations: 47.16 kB / 1.177 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.459, allocations: 0 / 1.177 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.004218/0.4633, allocations: 1.585 MB / 1.179 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.4633, allocations: 111.5 kB / 1.179 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.4652, allocations: 1.393 MB / 1.18 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/0.4653, allocations: 53.69 kB / 1.18 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.4658, allocations: 0.7124 MB / 1.181 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.4661, allocations: 260.2 kB / 1.181 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.4664, allocations: 178.5 kB / 1.181 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4666, allocations: 341.9 kB / 1.182 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.4679, allocations: 0.4888 MB / 1.182 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.4693, allocations: 0.723 MB / 1.183 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.472, allocations: 1.133 MB / 1.184 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.472, allocations: 4 kB / 1.184 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003319/0.4753, allocations: 1.351 MB / 1.185 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4753, allocations: 8 kB / 1.185 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4754, allocations: 4 kB / 1.185 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4754, allocations: 8 kB / 1.185 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4766, allocations: 276 kB / 1.186 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.4766, allocations: 19.92 kB / 1.186 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.4782, allocations: 194.8 kB / 1.186 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.4783, allocations: 35.98 kB / 1.186 GB, free: 296 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001763/0.4801, allocations: 0.8025 MB / 1.187 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001412/0.4815, allocations: 0.7159 MB / 1.187 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002489/0.484, allocations: 1.125 MB / 1.188 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.484, allocations: 0 / 1.188 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003209/0.4872, allocations: 1.343 MB / 1.19 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4873, allocations: 12.06 kB / 1.19 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4873, allocations: 4 kB / 1.19 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.4873, allocations: 8 kB / 1.19 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4885, allocations: 271.6 kB / 1.19 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.4885, allocations: 19.92 kB / 1.19 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4898, allocations: 179.1 kB / 1.19 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.4899, allocations: 43.92 kB / 1.19 GB, free: 11.6 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002882/0.4902, allocations: 237.2 kB / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.4904, allocations: 150.1 kB / 1.191 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.4937, allocations: 1.478 MB / 1.192 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4937, allocations: 8 kB / 1.192 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4937, allocations: 4 kB / 1.192 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00247/0.4962, allocations: 1.113 MB / 1.193 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/0.5016, allocations: 3.082 MB / 1.196 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.5016, allocations: 8.062 kB / 1.196 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/0.5026, allocations: 187.7 kB / 1.196 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.5026, allocations: 8 kB / 1.196 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/0.5027, allocations: 27.98 kB / 1.196 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.5027, allocations: 8 kB / 1.196 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5027, allocations: 11.88 kB / 1.196 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/0.5071, allocations: 2.064 MB / 1.198 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007335/0.5078, allocations: 382.7 kB / 1.199 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.5081, allocations: 20 kB / 1.199 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.5094, allocations: 147.7 kB / 1.199 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.5097, allocations: 80.34 kB / 1.199 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5098, allocations: 43.91 kB / 1.199 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001549/0.5113, allocations: 1.068 MB / 1.2 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5113, allocations: 4 kB / 1.2 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002193/0.5135, allocations: 0.7916 MB / 1.201 GB, free: 440 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.5146, allocations: 461.3 kB / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004496/0.5191, allocations: 1.873 MB / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5191, allocations: 0 / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.5207, allocations: 0.6405 MB / 1.204 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/0.5242, allocations: 0.8201 MB / 1.205 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.5285, allocations: 3.32 MB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/0.5293, allocations: 1.277 MB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001605/0.5309, allocations: 404.2 kB / 1.209 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.5313, allocations: 135.4 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of SimCode: time 7.71e-07/0.5313, allocations: 0 / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of Templates: time 0.05209/0.5834, allocations: 32.77 MB / 1.242 GB, free: 7.027 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)