Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 303.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009035/0.0009034, allocations: 176.5 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006872/0.0006872, allocations: 96.47 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 11.5 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04111/0.1895, allocations: 57.79 MB / 1.037 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.2045, allocations: 12.37 MB / 1.049 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.2059, allocations: 51.69 kB / 1.049 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.2078, allocations: 0.7805 MB / 1.05 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.2114, allocations: 1.664 MB / 1.051 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.2139, allocations: 1.043 MB / 1.052 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003631/0.2175, allocations: 3.766 MB / 1.056 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.2188, allocations: 1.039 MB / 1.057 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.2203, allocations: 1.136 MB / 1.058 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.2214, allocations: 0.9467 MB / 1.059 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.2215, allocations: 68 kB / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.2245, allocations: 1.442 MB / 1.06 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.2249, allocations: 350.6 kB / 1.061 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009237/0.2258, allocations: 0.7674 MB / 1.061 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003002/0.2288, allocations: 2.194 MB / 1.064 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2289, allocations: 0 / 1.064 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2289, allocations: 0 / 1.064 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.2289, allocations: 0 / 1.064 GB, free: 5.598 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004004/0.2329, allocations: 1.86 MB / 1.065 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.194e-05/0.233, allocations: 12.03 kB / 1.065 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000279/0.2333, allocations: 139.4 kB / 1.066 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.2357, allocations: 0.5531 MB / 1.066 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.2383, allocations: 1.38 MB / 1.067 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000702/0.239, allocations: 277.2 kB / 1.068 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.2391, allocations: 88 kB / 1.068 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3367/0.5758, allocations: 1.245 MB / 1.069 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.5759, allocations: 2.531 kB / 1.069 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.576, allocations: 35.17 kB / 1.069 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.5761, allocations: 21 kB / 1.069 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.5794, allocations: 1.332 MB / 1.07 GB, free: 90.04 MB / 0.6823 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.006187/0.5856, allocations: 4.538 MB / 1.075 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007631/0.5933, allocations: 1.972 MB / 1.077 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009887/0.5943, allocations: 469.5 kB / 1.077 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.5949, allocations: 1.156 MB / 1.078 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.5961, allocations: 0.5401 MB / 1.079 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.5961, allocations: 0 / 1.079 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003355/0.5994, allocations: 1.423 MB / 1.08 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.5995, allocations: 84.66 kB / 1.08 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.6019, allocations: 1.621 MB / 1.082 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.602, allocations: 43.64 kB / 1.082 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.6025, allocations: 0.6401 MB / 1.083 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.6026, allocations: 210.3 kB / 1.083 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.6027, allocations: 15.22 kB / 1.083 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.6028, allocations: 336.5 kB / 1.083 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.604, allocations: 0.5003 MB / 1.084 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.6054, allocations: 0.6649 MB / 1.084 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.6076, allocations: 1.002 MB / 1.085 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6076, allocations: 1.062 kB / 1.085 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003009/0.6106, allocations: 1.322 MB / 1.086 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.6107, allocations: 165.5 kB / 1.087 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.6107, allocations: 1.906 kB / 1.087 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.6107, allocations: 5.875 kB / 1.087 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6118, allocations: 241.1 kB / 1.087 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.6118, allocations: 6.688 kB / 1.087 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.6132, allocations: 244 kB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.6133, allocations: 37.94 kB / 1.087 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.6133, allocations: 4.156 kB / 1.087 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002703/0.616, allocations: 1.163 MB / 1.088 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.616, allocations: 2.844 kB / 1.088 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/0.6161, allocations: 4.625 kB / 1.088 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/0.617, allocations: 238.9 kB / 1.089 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.617, allocations: 8.641 kB / 1.089 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.6183, allocations: 215.9 kB / 1.089 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.6184, allocations: 37.52 kB / 1.089 GB, free: 80.69 MB / 0.6823 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006123/0.619, allocations: 431.1 kB / 1.089 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.6192, allocations: 150.8 kB / 1.089 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.6217, allocations: 1.276 MB / 1.091 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.6217, allocations: 7.734 kB / 1.091 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6217, allocations: 3.938 kB / 1.091 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.6217, allocations: 4.469 kB / 1.091 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.6257, allocations: 2.737 MB / 1.093 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6257, allocations: 3.969 kB / 1.093 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.6264, allocations: 151 kB / 1.093 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6265, allocations: 4.906 kB / 1.093 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.6265, allocations: 22.81 kB / 1.093 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.6265, allocations: 4.906 kB / 1.093 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6265, allocations: 7.031 kB / 1.093 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.6287, allocations: 1.281 MB / 1.095 GB, free: 77.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.6293, allocations: 403.2 kB / 1.095 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.6295, allocations: 16.28 kB / 1.095 GB, free: 77.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.6305, allocations: 127.6 kB / 1.095 GB, free: 77.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6306, allocations: 55.86 kB / 1.095 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.6307, allocations: 31.12 kB / 1.095 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001676/0.6324, allocations: 1.146 MB / 1.096 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6324, allocations: 0 / 1.096 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00168/0.6341, allocations: 0.7077 MB / 1.097 GB, free: 77 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003503/0.6376, allocations: 2.504 MB / 1.1 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003743/0.6413, allocations: 1.715 MB / 1.101 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6414, allocations: 1.062 kB / 1.101 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.6423, allocations: 0.5117 MB / 1.102 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/0.6456, allocations: 0.6316 MB / 1.102 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.6624, allocations: 9.582 MB / 1.112 GB, free: 68.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.6631, allocations: 1.232 MB / 1.113 GB, free: 67.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001769/0.6649, allocations: 412.5 kB / 1.113 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.6656, allocations: 0.57 MB / 1.114 GB, free: 67.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/0.6656, allocations: 0 / 1.114 GB, free: 67.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.92/1.586, allocations: 42.23 MB / 1.155 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/1.586, allocations: 260.9 kB / 1.155 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/5.162, allocations: 0 / 1.155 GB, free: 29.54 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)