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.001105/0.001105, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006627/0.006627, allocations: 171.9 kB / 16.27 MB, free: 6.656 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 9.531 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3055, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05842/0.364, allocations: 61.11 MB / 1.134 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.3848, allocations: 13.57 MB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.3873, allocations: 51.69 kB / 1.147 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.3902, allocations: 0.7965 MB / 1.148 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006881/0.3971, allocations: 2.213 MB / 1.15 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.4012, allocations: 1.461 MB / 1.151 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006986/0.4082, allocations: 5.488 MB / 1.157 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.4105, allocations: 1.165 MB / 1.158 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.4133, allocations: 1.369 MB / 1.159 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.4152, allocations: 1.237 MB / 1.161 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.4154, allocations: 72 kB / 1.161 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.4183, allocations: 1.298 MB / 1.162 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.4187, allocations: 414.3 kB / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.4199, allocations: 0.9071 MB / 1.163 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.4235, allocations: 3.018 MB / 1.166 GB, free: 9.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4235, allocations: 0 / 1.166 GB, free: 9.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4235, allocations: 4 kB / 1.166 GB, free: 9.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.4235, allocations: 0 / 1.166 GB, free: 9.008 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.003883/0.4274, allocations: 2.03 MB / 1.168 GB, free: 6.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4275, allocations: 15.97 kB / 1.168 GB, free: 6.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.4288, allocations: 346.4 kB / 1.168 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.431, allocations: 1.447 MB / 1.17 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.4313, allocations: 157.4 kB / 1.17 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.4315, allocations: 104 kB / 1.17 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.4345, allocations: 1.496 MB / 1.172 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.4346, allocations: 15.84 kB / 1.172 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.4347, allocations: 44 kB / 1.172 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.4347, allocations: 32 kB / 1.172 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.4382, allocations: 1.444 MB / 1.173 GB, free: 1.676 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.008209/0.4464, allocations: 6.643 MB / 1.18 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.4487, allocations: 1.221 MB / 1.181 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.4501, allocations: 0.6084 MB / 1.181 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/0.4509, allocations: 1.152 MB / 1.182 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.451, allocations: 43.22 kB / 1.182 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 3.146e-06/0.451, allocations: 0 / 1.182 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.004437/0.4554, allocations: 1.75 MB / 1.184 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.4555, allocations: 111.5 kB / 1.184 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.4576, allocations: 1.393 MB / 1.186 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.4577, allocations: 45.7 kB / 1.186 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/0.4584, allocations: 0.7085 MB / 1.186 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.4587, allocations: 268.1 kB / 1.187 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.4588, allocations: 73.67 kB / 1.187 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.459, allocations: 345.9 kB / 1.187 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.4604, allocations: 0.5289 MB / 1.188 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.462, allocations: 0.7815 MB / 1.188 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.4648, allocations: 1.223 MB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4648, allocations: 0 / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003271/0.4681, allocations: 1.456 MB / 1.191 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.4682, allocations: 236.3 kB / 1.191 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4682, allocations: 4 kB / 1.191 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.4683, allocations: 15.94 kB / 1.191 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4695, allocations: 299.6 kB / 1.191 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.4695, allocations: 15.92 kB / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4708, allocations: 226.8 kB / 1.192 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.4709, allocations: 35.98 kB / 1.192 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.4709, allocations: 4 kB / 1.192 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003033/0.474, allocations: 1.292 MB / 1.193 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.474, allocations: 4 kB / 1.193 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.474, allocations: 8 kB / 1.193 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.4753, allocations: 295.9 kB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4753, allocations: 19.92 kB / 1.193 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.4765, allocations: 203.1 kB / 1.193 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/0.4766, allocations: 39.98 kB / 1.194 GB, free: 11.56 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.0007205/0.4774, allocations: 461.3 kB / 1.194 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.4776, allocations: 154.2 kB / 1.194 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.4812, allocations: 1.591 MB / 1.196 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4812, allocations: 8 kB / 1.196 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4812, allocations: 0 / 1.196 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002807/0.4841, allocations: 1.218 MB / 1.197 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005822/0.4899, allocations: 3.188 MB / 1.2 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4899, allocations: 4 kB / 1.2 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.4909, allocations: 216.2 kB / 1.2 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.491, allocations: 11.94 kB / 1.2 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.491, allocations: 23.98 kB / 1.2 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/0.491, allocations: 11.94 kB / 1.2 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.491, allocations: 8 kB / 1.2 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/0.4958, allocations: 2.22 MB / 1.202 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/0.4965, allocations: 410.7 kB / 1.203 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.4967, allocations: 20 kB / 1.203 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.498, allocations: 167.7 kB / 1.203 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.4982, allocations: 84.34 kB / 1.203 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.4983, allocations: 39.97 kB / 1.203 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001515/0.4999, allocations: 1.068 MB / 1.204 GB, free: 420 kB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4999, allocations: 0 / 1.204 GB, free: 420 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001979/0.5018, allocations: 0.7915 MB / 1.205 GB, free: 15.61 MB / 0.9669 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.0008862/0.5027, allocations: 465.6 kB / 1.205 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004641/0.5074, allocations: 1.959 MB / 1.207 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5074, allocations: 4 kB / 1.207 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.5091, allocations: 0.6874 MB / 1.208 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005071/0.5142, allocations: 0.8208 MB / 1.209 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.5193, allocations: 3.39 MB / 1.212 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.5205, allocations: 1.274 MB / 1.213 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001891/0.5224, allocations: 408.2 kB / 1.214 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.5228, allocations: 131.4 kB / 1.214 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of SimCode: time 9.11e-07/0.5228, allocations: 0 / 1.214 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of Templates: time 0.06083/0.5837, allocations: 33.22 MB / 1.246 GB, free: 5.52 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)