Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_11_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.001255/0.001255, 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.001253/0.001253, allocations: 198.2 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.498/2.498, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 68.3 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2539, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06073/0.3147, allocations: 62.76 MB / 1.125 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.3317, allocations: 13.06 MB / 1.138 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.3329, allocations: 67.62 kB / 1.138 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.3349, allocations: 0.9277 MB / 1.139 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.3387, allocations: 2.034 MB / 1.141 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.3414, allocations: 1.35 MB / 1.142 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003311/0.3447, allocations: 3.481 MB / 1.146 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.3461, allocations: 1.284 MB / 1.147 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.3483, allocations: 1.36 MB / 1.148 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.3494, allocations: 1.07 MB / 1.149 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.3496, allocations: 160 kB / 1.15 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.3521, allocations: 1.603 MB / 1.151 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004108/0.3526, allocations: 478.3 kB / 1.152 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008046/0.3534, allocations: 0.8939 MB / 1.152 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.3564, allocations: 2.929 MB / 1.155 GB, free: 468 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3564, allocations: 0 / 1.155 GB, free: 468 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3564, allocations: 0 / 1.155 GB, free: 468 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.3564, allocations: 0 / 1.155 GB, free: 468 kB / 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.003328/0.3598, allocations: 2.171 MB / 1.157 GB, free: 14.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3598, allocations: 8.031 kB / 1.157 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.36, allocations: 147.6 kB / 1.158 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.3637, allocations: 0.7011 MB / 1.158 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.3659, allocations: 1.374 MB / 1.16 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007202/0.3666, allocations: 261.2 kB / 1.16 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.3668, allocations: 88 kB / 1.16 GB, free: 11.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/0.3697, allocations: 1.372 MB / 1.161 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.3697, allocations: 7.938 kB / 1.161 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3698, allocations: 36 kB / 1.161 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3699, allocations: 20 kB / 1.161 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.3739, allocations: 1.515 MB / 1.163 GB, free: 8.602 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.007063/0.381, allocations: 4.808 MB / 1.168 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008407/0.3894, allocations: 1.937 MB / 1.169 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.3908, allocations: 0.5508 MB / 1.17 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000912/0.3917, allocations: 1.164 MB / 1.171 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/0.3934, allocations: 0.6315 MB / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=60): time 1.904e-06/0.3934, allocations: 4 kB / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60): time 0.00456/0.3979, allocations: 1.672 MB / 1.173 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.398, allocations: 85.67 kB / 1.173 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.4002, allocations: 1.631 MB / 1.175 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/0.4003, allocations: 45.7 kB / 1.175 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.4009, allocations: 0.655 MB / 1.176 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.4011, allocations: 209 kB / 1.176 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.4014, allocations: 166.4 kB / 1.176 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4016, allocations: 341.8 kB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.4033, allocations: 0.5903 MB / 1.177 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.4052, allocations: 0.7477 MB / 1.178 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.4082, allocations: 1.153 MB / 1.179 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4083, allocations: 0 / 1.179 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003928/0.4122, allocations: 1.483 MB / 1.18 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4122, allocations: 4 kB / 1.18 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4122, allocations: 4 kB / 1.18 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4122, allocations: 4 kB / 1.18 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4135, allocations: 259.9 kB / 1.181 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4135, allocations: 11.94 kB / 1.181 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.415, allocations: 242.8 kB / 1.181 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/0.415, allocations: 35.97 kB / 1.181 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002052/0.4171, allocations: 0.8804 MB / 1.182 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001814/0.4189, allocations: 0.7399 MB / 1.182 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003015/0.422, allocations: 1.149 MB / 1.184 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.422, allocations: 0 / 1.184 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003883/0.4259, allocations: 1.475 MB / 1.185 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.4259, allocations: 4 kB / 1.185 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4259, allocations: 4 kB / 1.185 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.4259, allocations: 4 kB / 1.185 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.4271, allocations: 255.9 kB / 1.185 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4271, allocations: 11.94 kB / 1.185 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.4286, allocations: 219.2 kB / 1.185 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.4286, allocations: 39.97 kB / 1.185 GB, free: 0.6055 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.0002249/0.4289, allocations: 228 kB / 1.186 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.4291, allocations: 150.1 kB / 1.186 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.4327, allocations: 1.466 MB / 1.187 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.4327, allocations: 11.98 kB / 1.187 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4327, allocations: 8 kB / 1.187 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4327, allocations: 3.984 kB / 1.187 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.4383, allocations: 3.011 MB / 1.19 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.4383, allocations: 4 kB / 1.19 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009183/0.4392, allocations: 172 kB / 1.19 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4392, allocations: 8 kB / 1.19 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/0.4393, allocations: 23.97 kB / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.4393, allocations: 4 kB / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4393, allocations: 7.938 kB / 1.19 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.4426, allocations: 1.448 MB / 1.192 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/0.4432, allocations: 398.8 kB / 1.192 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.4434, allocations: 12 kB / 1.192 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.4446, allocations: 135.8 kB / 1.192 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4447, allocations: 56.3 kB / 1.192 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/0.4448, allocations: 27.98 kB / 1.192 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001722/0.4465, allocations: 1.161 MB / 1.194 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4465, allocations: 0 / 1.194 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001633/0.4482, allocations: 0.7332 MB / 1.194 GB, free: 7.395 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.005743/0.4539, allocations: 2.676 MB / 1.197 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005684/0.4596, allocations: 2.046 MB / 1.199 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4596, allocations: 0 / 1.199 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.4612, allocations: 0.5965 MB / 1.199 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.4639, allocations: 0.6629 MB / 1.2 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/0.4857, allocations: 13.41 MB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/0.4865, allocations: 1.242 MB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001442/0.488, allocations: 427.8 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/0.4888, allocations: 0.5735 MB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.4888, allocations: 0 / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.18/3.669, allocations: 42.02 MB / 1.256 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.56/23.23, allocations: 6.938 kB / 1.256 GB, free: 175.3 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)