Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 65.12 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2651, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06182/0.327, allocations: 62.75 MB / 1.114 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.345, allocations: 13.07 MB / 1.127 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.3472, allocations: 67.62 kB / 1.127 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.35, allocations: 0.9277 MB / 1.128 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.3553, allocations: 1.998 MB / 1.13 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.359, allocations: 1.371 MB / 1.131 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004306/0.3633, allocations: 3.472 MB / 1.135 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.3654, allocations: 1.28 MB / 1.136 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.3685, allocations: 1.365 MB / 1.137 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.3702, allocations: 1.071 MB / 1.138 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.3707, allocations: 156 kB / 1.138 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.374, allocations: 1.61 MB / 1.14 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009063/0.3749, allocations: 462.4 kB / 1.14 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.3774, allocations: 0.9017 MB / 1.141 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006339/0.3838, allocations: 2.921 MB / 1.144 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3838, allocations: 3.938 kB / 1.144 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3838, allocations: 0 / 1.144 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001096/0.3839, allocations: 8 kB / 1.144 GB, free: 10.56 MB / 0.9044 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.005646/0.3896, allocations: 2.167 MB / 1.146 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3896, allocations: 16.62 kB / 1.146 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003261/0.39, allocations: 139.6 kB / 1.146 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.3927, allocations: 494.2 kB / 1.147 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.3956, allocations: 1.36 MB / 1.148 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008295/0.3964, allocations: 265.2 kB / 1.148 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.3967, allocations: 88 kB / 1.149 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.3996, allocations: 1.251 MB / 1.15 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3996, allocations: 4 kB / 1.15 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.3998, allocations: 36 kB / 1.15 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.3998, allocations: 20 kB / 1.15 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.4032, allocations: 1.292 MB / 1.151 GB, free: 3.285 MB / 0.9044 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.007433/0.4107, allocations: 4.566 MB / 1.156 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008329/0.419, allocations: 1.727 MB / 1.157 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.4201, allocations: 450.3 kB / 1.158 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008595/0.421, allocations: 1.156 MB / 1.159 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.4222, allocations: 0.5261 MB / 1.159 GB, free: 10.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.965e-06/0.4222, allocations: 0 / 1.159 GB, free: 10.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.003498/0.4257, allocations: 1.364 MB / 1.161 GB, free: 8.945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.4258, allocations: 85.66 kB / 1.161 GB, free: 8.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.4285, allocations: 1.638 MB / 1.162 GB, free: 7.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.4286, allocations: 41.7 kB / 1.162 GB, free: 7.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.4292, allocations: 0.655 MB / 1.163 GB, free: 6.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.4294, allocations: 213 kB / 1.163 GB, free: 6.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/0.4297, allocations: 158.5 kB / 1.163 GB, free: 6.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4299, allocations: 337.9 kB / 1.164 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4313, allocations: 496.5 kB / 1.164 GB, free: 5.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4328, allocations: 0.6539 MB / 1.165 GB, free: 4.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.4352, allocations: 0.9617 MB / 1.166 GB, free: 3.586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4352, allocations: 0 / 1.166 GB, free: 3.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003418/0.4387, allocations: 1.276 MB / 1.167 GB, free: 2.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4387, allocations: 4 kB / 1.167 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.4387, allocations: 4 kB / 1.167 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4387, allocations: 4.25 kB / 1.167 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4398, allocations: 227.6 kB / 1.167 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.4398, allocations: 4 kB / 1.167 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4414, allocations: 214.9 kB / 1.167 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4415, allocations: 39.91 kB / 1.167 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001747/0.4432, allocations: 0.7712 MB / 1.168 GB, free: 1.039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001499/0.4447, allocations: 0.6462 MB / 1.169 GB, free: 348 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002348/0.4471, allocations: 0.95 MB / 1.17 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.4471, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003344/0.4505, allocations: 1.28 MB / 1.171 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.4505, allocations: 8 kB / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.4505, allocations: 0 / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.4505, allocations: 8 kB / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4516, allocations: 219.9 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.4516, allocations: 11.98 kB / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.4531, allocations: 179.3 kB / 1.171 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/0.4532, allocations: 35.98 kB / 1.171 GB, free: 13.61 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.0002582/0.4535, allocations: 230.6 kB / 1.172 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.4538, allocations: 162 kB / 1.172 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.4566, allocations: 1.242 MB / 1.173 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.4567, allocations: 8 kB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4567, allocations: 3.984 kB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4567, allocations: 0 / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.4615, allocations: 2.719 MB / 1.176 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.4615, allocations: 4 kB / 1.176 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.4622, allocations: 136.1 kB / 1.176 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.4623, allocations: 11.98 kB / 1.176 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.4623, allocations: 19.98 kB / 1.176 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4624, allocations: 4 kB / 1.176 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4624, allocations: 4 kB / 1.176 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.4649, allocations: 1.249 MB / 1.177 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.4656, allocations: 378.9 kB / 1.177 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.4658, allocations: 20 kB / 1.177 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.467, allocations: 95.88 kB / 1.178 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.4672, allocations: 52.25 kB / 1.178 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.97e-05/0.4672, allocations: 39.97 kB / 1.178 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001979/0.4692, allocations: 1.157 MB / 1.179 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4692, allocations: 0 / 1.179 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001921/0.4712, allocations: 0.7252 MB / 1.179 GB, free: 5.203 MB / 0.9356 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.004628/0.4758, allocations: 2.459 MB / 1.182 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00454/0.4804, allocations: 1.738 MB / 1.184 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4804, allocations: 0 / 1.184 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.4815, allocations: 0.491 MB / 1.184 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.4846, allocations: 0.6637 MB / 1.185 GB, free: 4 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.5064, allocations: 12.77 MB / 1.197 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009367/0.5074, allocations: 1.246 MB / 1.198 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001681/0.5091, allocations: 402.7 kB / 1.199 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008826/0.51, allocations: 0.5802 MB / 1.199 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of SimCode: time 1.002e-06/0.51, allocations: 3.938 kB / 1.199 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/0.6296, allocations: 41.4 MB / 1.24 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.694, allocations: 10.48 kB / 1.24 GB, free: 7.621 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)