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.001098/0.001098, 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.001218/0.001218, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 64.25 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3128, allocations: 159.9 MB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05909/0.3719, allocations: 62.24 MB / 1.128 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.3903, allocations: 13.73 MB / 1.142 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.3932, allocations: 55.69 kB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002938/0.3962, allocations: 0.8004 MB / 1.143 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.4024, allocations: 2.208 MB / 1.145 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.4066, allocations: 1.474 MB / 1.146 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006439/0.413, allocations: 5.472 MB / 1.151 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.415, allocations: 1.203 MB / 1.153 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.4186, allocations: 1.42 MB / 1.154 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.421, allocations: 1.287 MB / 1.155 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.4213, allocations: 92 kB / 1.155 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.4245, allocations: 1.31 MB / 1.157 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.4251, allocations: 442.2 kB / 1.157 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.4265, allocations: 0.921 MB / 1.158 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.4307, allocations: 3.077 MB / 1.161 GB, free: 10.96 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4307, allocations: 0 / 1.161 GB, free: 10.96 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4307, allocations: 7.938 kB / 1.161 GB, free: 10.96 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.286e-05/0.4308, allocations: 0 / 1.161 GB, free: 10.96 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.004706/0.4355, allocations: 2.337 MB / 1.163 GB, free: 8.559 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4355, allocations: 11.97 kB / 1.163 GB, free: 8.547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.437, allocations: 322.4 kB / 1.164 GB, free: 8.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.4394, allocations: 1.459 MB / 1.165 GB, free: 6.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.4396, allocations: 157.5 kB / 1.165 GB, free: 6.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.4398, allocations: 108 kB / 1.165 GB, free: 6.449 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.4428, allocations: 1.441 MB / 1.167 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.4429, allocations: 4 kB / 1.167 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.443, allocations: 48 kB / 1.167 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.4431, allocations: 28 kB / 1.167 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.4462, allocations: 1.343 MB / 1.168 GB, free: 3.5 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.4547, allocations: 6.624 MB / 1.175 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.457, allocations: 1.17 MB / 1.176 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.4583, allocations: 0.5615 MB / 1.176 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009362/0.4592, allocations: 1.145 MB / 1.177 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.4593, allocations: 47.22 kB / 1.177 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 2.665e-06/0.4593, allocations: 0 / 1.177 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.004515/0.4638, allocations: 1.589 MB / 1.179 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.464, allocations: 111.5 kB / 1.179 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.4661, allocations: 1.397 MB / 1.18 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4663, allocations: 45.7 kB / 1.18 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006524/0.467, allocations: 0.7124 MB / 1.181 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.4673, allocations: 260.2 kB / 1.181 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.4676, allocations: 190.4 kB / 1.182 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4678, allocations: 334 kB / 1.182 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.4691, allocations: 0.4966 MB / 1.182 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.4706, allocations: 0.7229 MB / 1.183 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.4732, allocations: 1.129 MB / 1.184 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4733, allocations: 4 kB / 1.184 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003466/0.4767, allocations: 1.347 MB / 1.186 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4768, allocations: 12.09 kB / 1.186 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4768, allocations: 4 kB / 1.186 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.4768, allocations: 12 kB / 1.186 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.4781, allocations: 271.5 kB / 1.186 GB, free: 312 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.4781, allocations: 12 kB / 1.186 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4796, allocations: 194.8 kB / 1.186 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4798, allocations: 39.98 kB / 1.186 GB, free: 64 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001876/0.4816, allocations: 0.7946 MB / 1.187 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001505/0.4832, allocations: 0.7198 MB / 1.188 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002745/0.4859, allocations: 1.14 MB / 1.189 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.4859, allocations: 0 / 1.189 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003509/0.4894, allocations: 1.339 MB / 1.19 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4895, allocations: 8 kB / 1.19 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4895, allocations: 4 kB / 1.19 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4895, allocations: 8 kB / 1.19 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4908, allocations: 272.2 kB / 1.19 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.4908, allocations: 11.98 kB / 1.19 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.4922, allocations: 179.2 kB / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.4923, allocations: 39.92 kB / 1.19 GB, free: 11.39 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.0003187/0.4927, allocations: 233.3 kB / 1.191 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/0.4931, allocations: 158 kB / 1.191 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.4965, allocations: 1.474 MB / 1.192 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.4966, allocations: 11.98 kB / 1.192 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4966, allocations: 4 kB / 1.192 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002594/0.4992, allocations: 1.113 MB / 1.193 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006182/0.5054, allocations: 3.086 MB / 1.196 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5054, allocations: 4 kB / 1.196 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5064, allocations: 200.2 kB / 1.197 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.5064, allocations: 4 kB / 1.197 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.5065, allocations: 23.98 kB / 1.197 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/0.5065, allocations: 8 kB / 1.197 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.5065, allocations: 11.88 kB / 1.197 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/0.5111, allocations: 2.068 MB / 1.199 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/0.512, allocations: 382.7 kB / 1.199 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.5123, allocations: 16 kB / 1.199 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.5138, allocations: 139.7 kB / 1.199 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.514, allocations: 88.33 kB / 1.199 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.5141, allocations: 51.84 kB / 1.199 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00176/0.5159, allocations: 1.064 MB / 1.2 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5159, allocations: 0 / 1.2 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002355/0.5182, allocations: 0.7916 MB / 1.201 GB, free: 208 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.001108/0.5194, allocations: 456.1 kB / 1.202 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004589/0.524, allocations: 1.81 MB / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.524, allocations: 0 / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.5256, allocations: 0.6405 MB / 1.204 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/0.5297, allocations: 0.7811 MB / 1.205 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.535, allocations: 3.311 MB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.5361, allocations: 1.273 MB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002072/0.5382, allocations: 419.1 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/0.5387, allocations: 123.3 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.5387, allocations: 0 / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of Templates: time 0.05167/0.5903, allocations: 31.65 MB / 1.241 GB, free: 8.004 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)