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.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001194/0.001194, allocations: 169.1 kB / 371.8 MB, free: 10.29 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.486/1.486, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0007973/0.0007973, allocations: 102.8 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 12.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2288, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04494/0.2738, allocations: 52.39 MB / 1.031 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.2909, allocations: 11.88 MB / 1.042 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.2936, allocations: 47.69 kB / 1.042 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003378/0.297, allocations: 0.9331 MB / 1.043 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007607/0.3046, allocations: 2.132 MB / 1.045 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005328/0.3099, allocations: 1.628 MB / 1.047 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005441/0.3154, allocations: 2.528 MB / 1.049 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.3174, allocations: 1.07 MB / 1.05 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.3205, allocations: 1.203 MB / 1.052 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.3222, allocations: 0.8791 MB / 1.052 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.3226, allocations: 64 kB / 1.052 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.3257, allocations: 0.8621 MB / 1.053 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.3262, allocations: 354.7 kB / 1.054 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007252/0.3269, allocations: 380.8 kB / 1.054 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.33, allocations: 2.159 MB / 1.056 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.33, allocations: 4 kB / 1.056 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.33, allocations: 3.938 kB / 1.056 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.103e-05/0.3301, allocations: 0 / 1.056 GB, free: 12.94 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.004594/0.3347, allocations: 2.011 MB / 1.058 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.3348, allocations: 8.031 kB / 1.058 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002827/0.3351, allocations: 164.6 kB / 1.058 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.3364, allocations: 357.4 kB / 1.059 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.3391, allocations: 1.399 MB / 1.06 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.3393, allocations: 157.5 kB / 1.06 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.3394, allocations: 108 kB / 1.06 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.3423, allocations: 1.418 MB / 1.062 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.3423, allocations: 7.938 kB / 1.062 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3425, allocations: 47.98 kB / 1.062 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.3425, allocations: 28 kB / 1.062 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/0.3456, allocations: 1.339 MB / 1.063 GB, free: 5.688 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.5128/0.8585, allocations: 6.387 MB / 1.069 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.8612, allocations: 1.153 MB / 1.07 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008705/0.8621, allocations: 1.143 MB / 1.071 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.8622, allocations: 47.69 kB / 1.072 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 6.222e-06/0.8622, allocations: 3.906 kB / 1.072 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004833/0.867, allocations: 1.574 MB / 1.073 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.8671, allocations: 115.7 kB / 1.073 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.8694, allocations: 1.303 MB / 1.074 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.8696, allocations: 44.47 kB / 1.074 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.8702, allocations: 0.7186 MB / 1.075 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.8705, allocations: 263.6 kB / 1.075 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.8706, allocations: 19.88 kB / 1.075 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8707, allocations: 340.8 kB / 1.076 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.8721, allocations: 485.7 kB / 1.076 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.8737, allocations: 0.7076 MB / 1.077 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.8752, allocations: 0.5244 MB / 1.077 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8752, allocations: 1.906 kB / 1.077 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003901/0.8791, allocations: 1.337 MB / 1.079 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004397/0.8795, allocations: 1.883 MB / 1.081 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.8796, allocations: 6.281 kB / 1.081 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/0.8796, allocations: 9.344 kB / 1.081 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.881, allocations: 291.6 kB / 1.081 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.881, allocations: 17.08 kB / 1.081 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.8827, allocations: 218.7 kB / 1.081 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.8828, allocations: 41.78 kB / 1.081 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8828, allocations: 3.75 kB / 1.081 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003085/0.8859, allocations: 1.173 MB / 1.082 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8859, allocations: 6.375 kB / 1.082 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.886, allocations: 13.16 kB / 1.082 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8873, allocations: 298.3 kB / 1.083 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.8873, allocations: 9.984 kB / 1.083 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.8888, allocations: 206 kB / 1.083 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/0.8889, allocations: 43.02 kB / 1.083 GB, free: 80.21 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.0009185/0.8899, allocations: 460.5 kB / 1.083 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.8901, allocations: 146.3 kB / 1.083 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.8937, allocations: 1.471 MB / 1.085 GB, free: 79.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.8937, allocations: 13.25 kB / 1.085 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.8937, allocations: 0.5156 kB / 1.085 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002658/0.8964, allocations: 1.102 MB / 1.086 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007034/0.9034, allocations: 2.899 MB / 1.089 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.9035, allocations: 9.812 kB / 1.089 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.9045, allocations: 219.3 kB / 1.089 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.9046, allocations: 8.562 kB / 1.089 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.9046, allocations: 21.25 kB / 1.089 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.9047, allocations: 16.52 kB / 1.089 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.9047, allocations: 5.922 kB / 1.089 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/0.9095, allocations: 2.297 MB / 1.091 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008965/0.9104, allocations: 380 kB / 1.092 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.9107, allocations: 25.83 kB / 1.092 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.912, allocations: 159.9 kB / 1.092 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.9122, allocations: 82.41 kB / 1.092 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.9123, allocations: 43.06 kB / 1.092 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001635/0.914, allocations: 0.9332 MB / 1.093 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/0.914, allocations: 0 / 1.093 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002685/0.9167, allocations: 0.7991 MB / 1.094 GB, free: 75.2 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.006296/0.923, allocations: 4.358 MB / 1.098 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004937/0.9279, allocations: 1.786 MB / 1.1 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.928, allocations: 6.984 kB / 1.1 GB, free: 71.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.9297, allocations: 0.6324 MB / 1.1 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/0.9335, allocations: 0.6751 MB / 1.101 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.9412, allocations: 7.404 MB / 1.108 GB, free: 65.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/0.9422, allocations: 1.303 MB / 1.109 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002289/0.9445, allocations: 387 kB / 1.11 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/0.9454, allocations: 0.6172 MB / 1.11 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of SimCode: time 2.184e-06/0.9454, allocations: 0 / 1.11 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07658/1.022, allocations: 40.43 MB / 1.15 GB, free: 32.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.022, allocations: 240.3 kB / 1.15 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/4.333, allocations: 0 / 1.15 GB, free: 32.4 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)