Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",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.717/1.717, allocations: 288.4 MB / 303.3 MB, free: 8.188 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.00107/0.001071, allocations: 171 kB / 372 MB, free: 10.25 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.742/1.742, allocations: 205.4 MB / 0.6307 GB, free: 9.867 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.0008826/0.0008828, allocations: 98.22 kB / 0.744 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.000559, allocations: 11.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2645, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05096/0.3155, allocations: 57.75 MB / 1.036 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.3354, allocations: 13.01 MB / 1.049 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.3386, allocations: 51.69 kB / 1.049 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.3422, allocations: 0.7923 MB / 1.05 GB, free: 3.746 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00773/0.35, allocations: 1.844 MB / 1.051 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.3547, allocations: 1.209 MB / 1.053 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007535/0.3623, allocations: 4.675 MB / 1.057 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.3646, allocations: 1.054 MB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.3683, allocations: 1.338 MB / 1.059 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.371, allocations: 1.175 MB / 1.061 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003712/0.3713, allocations: 72 kB / 1.061 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.3747, allocations: 0.955 MB / 1.062 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005565/0.3752, allocations: 390.5 kB / 1.062 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008888/0.3761, allocations: 380.8 kB / 1.062 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.3799, allocations: 2.307 MB / 1.065 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.38, allocations: 0 / 1.065 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.38, allocations: 4 kB / 1.065 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.666e-05/0.3801, allocations: 0 / 1.065 GB, free: 4.301 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004903/0.385, allocations: 2.041 MB / 1.067 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.385, allocations: 12.03 kB / 1.067 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.3854, allocations: 164.6 kB / 1.067 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3869, allocations: 349.4 kB / 1.067 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.3896, allocations: 1.377 MB / 1.068 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.3897, allocations: 161.5 kB / 1.069 GB, free: 80 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5355/0.9252, allocations: 102.1 kB / 1.069 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.93, allocations: 1.476 MB / 1.07 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.9301, allocations: 2.297 kB / 1.07 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.9303, allocations: 46.16 kB / 1.07 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/0.9304, allocations: 37.91 kB / 1.07 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/0.9344, allocations: 1.43 MB / 1.072 GB, free: 89.64 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.0107/0.9452, allocations: 6.642 MB / 1.078 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.9477, allocations: 1.216 MB / 1.079 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.9494, allocations: 0.6057 MB / 1.08 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.9502, allocations: 1.143 MB / 1.081 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.9502, allocations: 47 kB / 1.081 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 4.388e-06/0.9502, allocations: 2.078 kB / 1.081 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.00553/0.9558, allocations: 1.74 MB / 1.083 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.9559, allocations: 115.5 kB / 1.083 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.9587, allocations: 1.366 MB / 1.084 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002208/0.9589, allocations: 44.27 kB / 1.084 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/0.9596, allocations: 0.7103 MB / 1.085 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.9599, allocations: 267.3 kB / 1.085 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.96, allocations: 15.25 kB / 1.085 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9601, allocations: 344.3 kB / 1.086 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.9616, allocations: 0.5289 MB / 1.086 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.9634, allocations: 0.7649 MB / 1.087 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.965, allocations: 0.5793 MB / 1.087 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.965, allocations: 1.438 kB / 1.087 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003943/0.969, allocations: 1.44 MB / 1.089 GB, free: 78.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.9691, allocations: 231.6 kB / 1.089 GB, free: 78.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.9692, allocations: 8.984 kB / 1.089 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.9692, allocations: 8.875 kB / 1.089 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.9706, allocations: 302.7 kB / 1.089 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.351e-05/0.9707, allocations: 14.39 kB / 1.089 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.9728, allocations: 214.6 kB / 1.089 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.973, allocations: 42.64 kB / 1.09 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.973, allocations: 5.625 kB / 1.09 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003506/0.9765, allocations: 1.285 MB / 1.091 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.9765, allocations: 5.656 kB / 1.091 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.9766, allocations: 11.25 kB / 1.091 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.9779, allocations: 296.5 kB / 1.091 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.9779, allocations: 10.39 kB / 1.091 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.9798, allocations: 205.5 kB / 1.091 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.98, allocations: 38.16 kB / 1.091 GB, free: 78.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.001121/0.9811, allocations: 467 kB / 1.092 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.9816, allocations: 150.6 kB / 1.092 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.9856, allocations: 1.571 MB / 1.093 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.9857, allocations: 12.72 kB / 1.093 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.9857, allocations: 0 / 1.093 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002866/0.9885, allocations: 1.208 MB / 1.095 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007788/0.9964, allocations: 3.147 MB / 1.098 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.9964, allocations: 3.906 kB / 1.098 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.9975, allocations: 221 kB / 1.098 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.9976, allocations: 6.75 kB / 1.098 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.9977, allocations: 29.59 kB / 1.098 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/0.9977, allocations: 11.81 kB / 1.098 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/0.9977, allocations: 6.25 kB / 1.098 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/1.003, allocations: 2.207 MB / 1.1 GB, free: 74 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.004, allocations: 401.2 kB / 1.101 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/1.005, allocations: 24.09 kB / 1.101 GB, free: 73.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.006, allocations: 158.9 kB / 1.101 GB, free: 73.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/1.006, allocations: 82.81 kB / 1.101 GB, free: 73.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.006, allocations: 47.78 kB / 1.101 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001909/1.008, allocations: 0.9776 MB / 1.102 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.008, allocations: 0 / 1.102 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002698/1.011, allocations: 0.8059 MB / 1.103 GB, free: 73.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.005827/1.017, allocations: 3.088 MB / 1.106 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005005/1.022, allocations: 1.941 MB / 1.107 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/1.022, allocations: 5.25 kB / 1.107 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/1.024, allocations: 0.6886 MB / 1.108 GB, free: 69.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/1.028, allocations: 0.6765 MB / 1.109 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/1.051, allocations: 9.912 MB / 1.118 GB, free: 63.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009598/1.052, allocations: 1.28 MB / 1.12 GB, free: 62.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002356/1.055, allocations: 392.9 kB / 1.12 GB, free: 62.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008868/1.056, allocations: 0.6111 MB / 1.121 GB, free: 61.62 MB / 0.6823 GB Notification: Performance of SimCode: time 1.763e-06/1.056, allocations: 0 / 1.121 GB, free: 61.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06715/1.123, allocations: 41.87 MB / 1.162 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.123, allocations: 241.8 kB / 1.162 GB, free: 21.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/4.625, allocations: 9.094 kB / 1.162 GB, free: 21.89 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)