Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008537/0.0008536, allocations: 98.03 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.006431/0.006431, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003464, allocations: 12.34 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3505, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06028/0.4109, allocations: 61.12 MB / 1.134 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.4286, allocations: 13.57 MB / 1.147 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.4306, allocations: 51.69 kB / 1.147 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.433, allocations: 0.7965 MB / 1.148 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.4392, allocations: 2.213 MB / 1.15 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.443, allocations: 1.462 MB / 1.151 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0067/0.4497, allocations: 5.491 MB / 1.157 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.4517, allocations: 1.161 MB / 1.158 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.4547, allocations: 1.373 MB / 1.159 GB, free: 32 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.457, allocations: 1.237 MB / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.4573, allocations: 72 kB / 1.161 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.4604, allocations: 1.298 MB / 1.162 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004748/0.4609, allocations: 406.3 kB / 1.162 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.4622, allocations: 0.9149 MB / 1.163 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.467, allocations: 3.014 MB / 1.166 GB, free: 9.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.467, allocations: 0 / 1.166 GB, free: 9.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.467, allocations: 4 kB / 1.166 GB, free: 9.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.822e-05/0.467, allocations: 0 / 1.166 GB, free: 9.066 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.004368/0.4714, allocations: 2.03 MB / 1.168 GB, free: 6.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.4715, allocations: 15.97 kB / 1.168 GB, free: 6.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.4729, allocations: 342.4 kB / 1.168 GB, free: 6.629 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.4753, allocations: 1.455 MB / 1.17 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.4755, allocations: 153.5 kB / 1.17 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.4757, allocations: 108 kB / 1.17 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.4788, allocations: 1.492 MB / 1.172 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.4788, allocations: 11.89 kB / 1.172 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.4789, allocations: 48 kB / 1.172 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.479, allocations: 35.98 kB / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.4824, allocations: 1.436 MB / 1.173 GB, free: 1.738 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.008467/0.4909, allocations: 6.647 MB / 1.18 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.4932, allocations: 1.226 MB / 1.181 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.4947, allocations: 0.6084 MB / 1.181 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008704/0.4956, allocations: 1.145 MB / 1.182 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.4956, allocations: 43.22 kB / 1.182 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 4.749e-06/0.4957, allocations: 4 kB / 1.182 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.004634/0.5003, allocations: 1.742 MB / 1.184 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.5004, allocations: 119.5 kB / 1.184 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.5024, allocations: 1.385 MB / 1.186 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.5026, allocations: 45.7 kB / 1.186 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000614/0.5032, allocations: 0.7163 MB / 1.186 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.5035, allocations: 268.1 kB / 1.187 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5036, allocations: 77.67 kB / 1.187 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5037, allocations: 341.9 kB / 1.187 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.5051, allocations: 0.5329 MB / 1.188 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.5067, allocations: 0.7776 MB / 1.188 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.5095, allocations: 1.226 MB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5095, allocations: 3.938 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00364/0.5132, allocations: 1.46 MB / 1.191 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.5133, allocations: 232.4 kB / 1.191 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5134, allocations: 4 kB / 1.191 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5134, allocations: 11.94 kB / 1.191 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.5147, allocations: 303.6 kB / 1.191 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.5147, allocations: 11.94 kB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.5163, allocations: 222.8 kB / 1.192 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5164, allocations: 36 kB / 1.192 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.926e-06/0.5164, allocations: 4 kB / 1.192 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003093/0.5195, allocations: 1.296 MB / 1.193 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5195, allocations: 4 kB / 1.193 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5195, allocations: 8 kB / 1.193 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.5208, allocations: 296 kB / 1.193 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.5208, allocations: 15.94 kB / 1.193 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.5223, allocations: 207.1 kB / 1.194 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.5224, allocations: 39.98 kB / 1.194 GB, free: 11.62 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.0007956/0.5232, allocations: 460.7 kB / 1.194 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.5235, allocations: 150.2 kB / 1.194 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.5271, allocations: 1.583 MB / 1.196 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.5272, allocations: 12 kB / 1.196 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5272, allocations: 0 / 1.196 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002786/0.53, allocations: 1.214 MB / 1.197 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006464/0.5364, allocations: 3.184 MB / 1.2 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5365, allocations: 7.938 kB / 1.2 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5375, allocations: 216.3 kB / 1.2 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/0.5375, allocations: 8 kB / 1.2 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.5376, allocations: 23.98 kB / 1.2 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/0.5377, allocations: 15.94 kB / 1.2 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.5377, allocations: 7.984 kB / 1.2 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/0.5428, allocations: 2.22 MB / 1.202 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.5442, allocations: 410.7 kB / 1.203 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006098/0.5448, allocations: 20 kB / 1.203 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.5466, allocations: 171.7 kB / 1.203 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.5468, allocations: 88.33 kB / 1.203 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.5469, allocations: 39.97 kB / 1.203 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002041/0.549, allocations: 1.064 MB / 1.204 GB, free: 484 kB / 0.9512 GB Notification: Performance of sort global known variables: time 3.91e-07/0.549, allocations: 0 / 1.204 GB, free: 484 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002725/0.5517, allocations: 0.7954 MB / 1.205 GB, free: 15.67 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.001065/0.5528, allocations: 460.5 kB / 1.205 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004845/0.5576, allocations: 1.962 MB / 1.207 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5577, allocations: 4 kB / 1.207 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.5594, allocations: 0.6874 MB / 1.208 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005154/0.5646, allocations: 0.8229 MB / 1.209 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.5696, allocations: 3.386 MB / 1.212 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/0.5706, allocations: 1.274 MB / 1.213 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00178/0.5724, allocations: 412.1 kB / 1.214 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.5729, allocations: 135.4 kB / 1.214 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.5729, allocations: 0 / 1.214 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of Templates: time 0.05815/0.6311, allocations: 33.21 MB / 1.246 GB, free: 5.586 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)