Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, 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.001286/0.001286, allocations: 195.8 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7448 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 66.78 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3551, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06484/0.42, allocations: 62.21 MB / 1.128 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.4431, allocations: 12.96 MB / 1.141 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003611/0.4467, allocations: 59.62 kB / 1.141 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.4504, allocations: 0.8277 MB / 1.142 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.4581, allocations: 1.839 MB / 1.144 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005272/0.4634, allocations: 1.252 MB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006303/0.4697, allocations: 3.502 MB / 1.148 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.4725, allocations: 1.277 MB / 1.15 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.4769, allocations: 1.372 MB / 1.151 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.4792, allocations: 1.108 MB / 1.152 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006828/0.4799, allocations: 156 kB / 1.152 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.4842, allocations: 1.618 MB / 1.154 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008851/0.4851, allocations: 470.4 kB / 1.154 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.4873, allocations: 0.8939 MB / 1.155 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006571/0.4939, allocations: 2.937 MB / 1.158 GB, free: 14.05 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.494, allocations: 0 / 1.158 GB, free: 14.05 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.904e-06/0.494, allocations: 0 / 1.158 GB, free: 14.05 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.705e-05/0.4941, allocations: 0 / 1.158 GB, free: 14.05 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.006754/0.5008, allocations: 2.182 MB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5009, allocations: 12.03 kB / 1.16 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/0.5037, allocations: 498.2 kB / 1.161 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/0.5072, allocations: 1.392 MB / 1.162 GB, free: 9.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008329/0.5081, allocations: 257.3 kB / 1.162 GB, free: 9.598 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.5084, allocations: 91.98 kB / 1.162 GB, free: 9.508 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.5115, allocations: 1.248 MB / 1.164 GB, free: 8.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.5116, allocations: 3.938 kB / 1.164 GB, free: 8.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.5117, allocations: 36 kB / 1.164 GB, free: 8.191 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.5117, allocations: 20 kB / 1.164 GB, free: 8.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.5151, allocations: 1.292 MB / 1.165 GB, free: 6.879 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.008446/0.5236, allocations: 4.562 MB / 1.169 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007925/0.5315, allocations: 1.72 MB / 1.171 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.5326, allocations: 454.3 kB / 1.171 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000924/0.5336, allocations: 1.16 MB / 1.173 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.5349, allocations: 0.5184 MB / 1.173 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=60): time 4.177e-06/0.5349, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60): time 0.003612/0.5385, allocations: 1.372 MB / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.5386, allocations: 81.67 kB / 1.174 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.5419, allocations: 1.619 MB / 1.176 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.542, allocations: 45.64 kB / 1.176 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000682/0.5427, allocations: 0.6473 MB / 1.177 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.543, allocations: 217 kB / 1.177 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.5434, allocations: 162.4 kB / 1.177 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5435, allocations: 337.9 kB / 1.177 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.5449, allocations: 0.4888 MB / 1.178 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.5464, allocations: 0.6423 MB / 1.179 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.5487, allocations: 0.9617 MB / 1.179 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5487, allocations: 0 / 1.179 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003502/0.5522, allocations: 1.288 MB / 1.181 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5522, allocations: 8 kB / 1.181 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5523, allocations: 0 / 1.181 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5523, allocations: 8 kB / 1.181 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.5534, allocations: 211.7 kB / 1.181 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.5534, allocations: 8 kB / 1.181 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.5551, allocations: 230.8 kB / 1.181 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.5553, allocations: 35.98 kB / 1.181 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001818/0.5571, allocations: 0.7719 MB / 1.182 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001421/0.5585, allocations: 0.6398 MB / 1.183 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002255/0.5608, allocations: 0.9577 MB / 1.183 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.042e-06/0.5608, allocations: 3.938 kB / 1.183 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003341/0.5642, allocations: 1.28 MB / 1.185 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5642, allocations: 8 kB / 1.185 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5642, allocations: 0 / 1.185 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5642, allocations: 8 kB / 1.185 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5653, allocations: 219.9 kB / 1.185 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.5653, allocations: 12 kB / 1.185 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.5669, allocations: 199.3 kB / 1.185 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.567, allocations: 39.97 kB / 1.185 GB, free: 1.191 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0003292/0.5674, allocations: 224.5 kB / 1.185 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.5679, allocations: 150.1 kB / 1.186 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.5709, allocations: 1.244 MB / 1.187 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.571, allocations: 12 kB / 1.187 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.571, allocations: 0 / 1.187 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.571, allocations: 3.984 kB / 1.187 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005575/0.5766, allocations: 2.712 MB / 1.189 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.5766, allocations: 11.94 kB / 1.189 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/0.5773, allocations: 135.8 kB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.5773, allocations: 4 kB / 1.19 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.427e-05/0.5774, allocations: 19.98 kB / 1.19 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.5774, allocations: 8.094 kB / 1.19 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.5774, allocations: 11.92 kB / 1.19 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.5802, allocations: 1.241 MB / 1.191 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008868/0.5811, allocations: 378.8 kB / 1.191 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/0.5815, allocations: 23.94 kB / 1.191 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.5828, allocations: 107.9 kB / 1.191 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.583, allocations: 44.38 kB / 1.191 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.323e-05/0.5831, allocations: 39.91 kB / 1.191 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002498/0.5856, allocations: 1.153 MB / 1.193 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5856, allocations: 0 / 1.193 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002532/0.5881, allocations: 0.7174 MB / 1.193 GB, free: 8.801 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.002161/0.5903, allocations: 0.7707 MB / 1.194 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00474/0.5951, allocations: 1.738 MB / 1.196 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5951, allocations: 0 / 1.196 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.5963, allocations: 498.8 kB / 1.196 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/0.6001, allocations: 0.6623 MB / 1.197 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.606, allocations: 2.957 MB / 1.2 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.6073, allocations: 1.25 MB / 1.201 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002084/0.6094, allocations: 404 kB / 1.201 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.61, allocations: 123.4 kB / 1.201 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of SimCode: time 1.362e-06/0.61, allocations: 0 / 1.201 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of Templates: time 0.05407/0.6641, allocations: 28.53 MB / 1.229 GB, free: 4.367 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)