Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008123/0.0008123, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006129/0.006129, allocations: 170 kB / 16.26 MB, free: 6.613 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 9.469 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06307/0.3826, allocations: 61.22 MB / 1.134 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.4029, allocations: 12.95 MB / 1.147 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.4064, allocations: 55.62 kB / 1.147 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.4096, allocations: 0.7887 MB / 1.147 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.4154, allocations: 1.835 MB / 1.149 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.4189, allocations: 1.223 MB / 1.15 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005861/0.4248, allocations: 4.311 MB / 1.155 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.4267, allocations: 1.07 MB / 1.156 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.4292, allocations: 1.147 MB / 1.157 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.4306, allocations: 1.015 MB / 1.158 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.4307, allocations: 68 kB / 1.158 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003836/0.4346, allocations: 1.509 MB / 1.159 GB, free: 72 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004563/0.435, allocations: 370.5 kB / 1.16 GB, free: 15.71 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009913/0.436, allocations: 0.8135 MB / 1.16 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.4401, allocations: 2.819 MB / 1.163 GB, free: 12.05 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4401, allocations: 0 / 1.163 GB, free: 12.05 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4401, allocations: 0 / 1.163 GB, free: 12.05 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.4401, allocations: 0 / 1.163 GB, free: 12.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.00365/0.4438, allocations: 1.873 MB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4439, allocations: 8.031 kB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.4464, allocations: 0.553 MB / 1.166 GB, free: 9.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.449, allocations: 1.396 MB / 1.167 GB, free: 8.117 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007889/0.4498, allocations: 273.3 kB / 1.167 GB, free: 7.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.45, allocations: 95.98 kB / 1.167 GB, free: 7.742 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.4528, allocations: 1.271 MB / 1.169 GB, free: 6.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4528, allocations: 4 kB / 1.169 GB, free: 6.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.453, allocations: 36 kB / 1.169 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.453, allocations: 20 kB / 1.169 GB, free: 6.383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/0.4564, allocations: 1.351 MB / 1.17 GB, free: 5.031 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.007408/0.4638, allocations: 4.586 MB / 1.174 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008841/0.4727, allocations: 1.971 MB / 1.176 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.4739, allocations: 470.3 kB / 1.177 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009178/0.4749, allocations: 1.156 MB / 1.178 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.4762, allocations: 0.5417 MB / 1.178 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=60): time 3.056e-06/0.4762, allocations: 4 kB / 1.178 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60): time 0.003657/0.4799, allocations: 1.422 MB / 1.18 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.4799, allocations: 85.67 kB / 1.18 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.4826, allocations: 1.631 MB / 1.181 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4827, allocations: 41.7 kB / 1.181 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000585/0.4833, allocations: 0.6473 MB / 1.182 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.4835, allocations: 213 kB / 1.182 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.4836, allocations: 57.69 kB / 1.182 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4838, allocations: 337.9 kB / 1.183 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4852, allocations: 0.5055 MB / 1.183 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.4867, allocations: 0.6774 MB / 1.184 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.4891, allocations: 1.009 MB / 1.185 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4892, allocations: 0 / 1.185 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003515/0.4927, allocations: 1.331 MB / 1.186 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.4928, allocations: 166.3 kB / 1.186 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4928, allocations: 8 kB / 1.186 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4929, allocations: 4 kB / 1.186 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.494, allocations: 231.7 kB / 1.187 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.494, allocations: 8 kB / 1.187 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.4957, allocations: 258.8 kB / 1.187 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.4958, allocations: 35.98 kB / 1.187 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.4959, allocations: 0 / 1.187 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003067/0.4989, allocations: 1.179 MB / 1.188 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4989, allocations: 0 / 1.188 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.499, allocations: 8 kB / 1.188 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.5, allocations: 227.8 kB / 1.188 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5001, allocations: 11.94 kB / 1.188 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5016, allocations: 203.1 kB / 1.188 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.5017, allocations: 43.97 kB / 1.188 GB, free: 1.25 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.0008261/0.5025, allocations: 437.2 kB / 1.189 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.5028, allocations: 154.1 kB / 1.189 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.5058, allocations: 1.283 MB / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.5058, allocations: 8 kB / 1.19 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5058, allocations: 0 / 1.19 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5059, allocations: 7.984 kB / 1.19 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/0.5107, allocations: 2.746 MB / 1.193 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.5107, allocations: 0 / 1.193 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.5115, allocations: 144.1 kB / 1.193 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.5115, allocations: 15.92 kB / 1.193 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.5115, allocations: 19.98 kB / 1.193 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.5116, allocations: 7.938 kB / 1.193 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5116, allocations: 8 kB / 1.193 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.5142, allocations: 1.284 MB / 1.194 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.5149, allocations: 398.7 kB / 1.195 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.5151, allocations: 15.94 kB / 1.195 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.5163, allocations: 127.8 kB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.5164, allocations: 52.38 kB / 1.195 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/0.5165, allocations: 31.97 kB / 1.195 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002006/0.5185, allocations: 1.161 MB / 1.196 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5185, allocations: 4 kB / 1.196 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001867/0.5204, allocations: 0.7136 MB / 1.197 GB, free: 8.488 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.001734/0.5222, allocations: 0.7643 MB / 1.198 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004479/0.5266, allocations: 1.73 MB / 1.199 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5267, allocations: 0 / 1.199 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.5278, allocations: 0.5145 MB / 1.2 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/0.5318, allocations: 0.6427 MB / 1.2 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.5366, allocations: 3.006 MB / 1.203 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/0.5376, allocations: 1.239 MB / 1.205 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0017/0.5393, allocations: 412.7 kB / 1.205 GB, free: 300 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.5397, allocations: 131.3 kB / 1.205 GB, free: 168 kB / 0.9512 GB Notification: Performance of SimCode: time 1.193e-06/0.5397, allocations: 0 / 1.205 GB, free: 168 kB / 0.9512 GB Notification: Performance of Templates: time 0.0501/0.5898, allocations: 28.34 MB / 1.233 GB, free: 4.168 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)