Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.427/1.427, allocations: 287.4 MB / 302.6 MB, free: 8.285 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.000853/0.000853, allocations: 181.9 kB / 371.1 MB, free: 10.85 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.098/1.098, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0006569/0.0006569, allocations: 109.7 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 12.91 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.03875/0.1787, allocations: 57.78 MB / 1.035 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.192, allocations: 12.35 MB / 1.047 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009554/0.193, allocations: 51.69 kB / 1.047 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.1946, allocations: 0.7767 MB / 1.048 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.1974, allocations: 1.543 MB / 1.05 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.1996, allocations: 1.038 MB / 1.051 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00297/0.2026, allocations: 3.779 MB / 1.054 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.2036, allocations: 1.039 MB / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.2049, allocations: 1.097 MB / 1.056 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000875/0.2058, allocations: 0.9489 MB / 1.057 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.2059, allocations: 64 kB / 1.057 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.2078, allocations: 1.197 MB / 1.058 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.2081, allocations: 366.5 kB / 1.059 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.2083, allocations: 336.8 kB / 1.059 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.21, allocations: 2.132 MB / 1.061 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.21, allocations: 0 / 1.061 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.142e-06/0.21, allocations: 0 / 1.061 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.2101, allocations: 0 / 1.061 GB, free: 7.371 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.002545/0.2126, allocations: 1.86 MB / 1.063 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2127, allocations: 12.03 kB / 1.063 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.2128, allocations: 139.4 kB / 1.063 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.2148, allocations: 0.5491 MB / 1.064 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.2168, allocations: 1.385 MB / 1.065 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006439/0.2174, allocations: 277.2 kB / 1.065 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.2176, allocations: 88 kB / 1.065 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.2198, allocations: 1.252 MB / 1.067 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2198, allocations: 0 / 1.067 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/0.2199, allocations: 36 kB / 1.067 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.2199, allocations: 28 kB / 1.067 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.2227, allocations: 1.327 MB / 1.068 GB, free: 272 kB / 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.2863/0.509, allocations: 4.546 MB / 1.072 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007365/0.5164, allocations: 1.961 MB / 1.074 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.5174, allocations: 469.1 kB / 1.075 GB, free: 87.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/0.5179, allocations: 1.158 MB / 1.076 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.519, allocations: 0.5395 MB / 1.076 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.066e-06/0.519, allocations: 1.188 kB / 1.076 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003105/0.5222, allocations: 1.413 MB / 1.078 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.5222, allocations: 85.39 kB / 1.078 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.5245, allocations: 1.614 MB / 1.08 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.5246, allocations: 45.14 kB / 1.08 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.5251, allocations: 0.6437 MB / 1.08 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.5252, allocations: 207.8 kB / 1.08 GB, free: 84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.5253, allocations: 15.34 kB / 1.08 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.5253, allocations: 343.7 kB / 1.081 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.5266, allocations: 0.5001 MB / 1.081 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.5279, allocations: 0.6676 MB / 1.082 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.5299, allocations: 0.9977 MB / 1.083 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5299, allocations: 0.7188 kB / 1.083 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002893/0.5328, allocations: 1.334 MB / 1.084 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.5329, allocations: 157.5 kB / 1.084 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5329, allocations: 1.438 kB / 1.084 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5329, allocations: 5.094 kB / 1.084 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/0.5339, allocations: 236.8 kB / 1.085 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5339, allocations: 9.859 kB / 1.085 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.5353, allocations: 249.5 kB / 1.085 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.5354, allocations: 36.62 kB / 1.085 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.5354, allocations: 5.125 kB / 1.085 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002531/0.5379, allocations: 1.163 MB / 1.086 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5379, allocations: 3.484 kB / 1.086 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.5379, allocations: 5.281 kB / 1.086 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.5389, allocations: 235.3 kB / 1.086 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5389, allocations: 7.078 kB / 1.086 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.54, allocations: 209.5 kB / 1.086 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.5401, allocations: 37.47 kB / 1.086 GB, free: 81.52 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.0005737/0.5407, allocations: 426.3 kB / 1.087 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.5409, allocations: 155.1 kB / 1.087 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.5433, allocations: 1.278 MB / 1.088 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.5433, allocations: 12.02 kB / 1.088 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5433, allocations: 0 / 1.088 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5433, allocations: 3.188 kB / 1.088 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.5473, allocations: 2.742 MB / 1.091 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.5473, allocations: 3.375 kB / 1.091 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.548, allocations: 146 kB / 1.091 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.548, allocations: 13.25 kB / 1.091 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.548, allocations: 20.61 kB / 1.091 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.5481, allocations: 5.781 kB / 1.091 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5481, allocations: 3.125 kB / 1.091 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.5501, allocations: 1.279 MB / 1.092 GB, free: 78.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.5506, allocations: 399.3 kB / 1.093 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5508, allocations: 19.45 kB / 1.093 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009798/0.5518, allocations: 125.2 kB / 1.093 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5519, allocations: 56.42 kB / 1.093 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.5519, allocations: 31.2 kB / 1.093 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001561/0.5535, allocations: 1.148 MB / 1.094 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.5535, allocations: 0 / 1.094 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001442/0.555, allocations: 0.7031 MB / 1.095 GB, free: 77.82 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.003238/0.5582, allocations: 2.466 MB / 1.097 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003472/0.5617, allocations: 1.724 MB / 1.099 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5617, allocations: 1.5 kB / 1.099 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009513/0.5627, allocations: 0.5065 MB / 1.099 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.5656, allocations: 0.6445 MB / 1.1 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.5806, allocations: 9.592 MB / 1.109 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.5812, allocations: 1.234 MB / 1.111 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001506/0.5827, allocations: 402.9 kB / 1.111 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.5834, allocations: 0.5697 MB / 1.111 GB, free: 68.9 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/0.5834, allocations: 1.25 kB / 1.111 GB, free: 68.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5226/1.106, allocations: 41.88 MB / 1.152 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/1.106, allocations: 250.1 kB / 1.153 GB, free: 32.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/4.342, allocations: 0 / 1.153 GB, free: 32.47 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)