Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",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.723/1.723, allocations: 288.2 MB / 303.2 MB, free: 8.223 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.001102/0.001102, allocations: 174.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.61/1.61, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009426/0.0009425, allocations: 107.3 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003974, allocations: 13.19 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.5999/0.8034, allocations: 96.52 MB / 1.074 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.8309, allocations: 18.21 MB / 1.092 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005169/0.8361, allocations: 94.91 kB / 1.092 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007088/0.8432, allocations: 1.567 MB / 1.093 GB, free: 38.15 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01724/0.8605, allocations: 3.616 MB / 1.097 GB, free: 38.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.8713, allocations: 2.724 MB / 1.099 GB, free: 38.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.8851, allocations: 4.698 MB / 1.104 GB, free: 38 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005491/0.8906, allocations: 1.997 MB / 1.106 GB, free: 37.75 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007883/0.8986, allocations: 2.174 MB / 1.108 GB, free: 37.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005589/0.9042, allocations: 1.555 MB / 1.11 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.9054, allocations: 123.1 kB / 1.11 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007639/0.9131, allocations: 1.215 MB / 1.111 GB, free: 37 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.9147, allocations: 0.6315 MB / 1.111 GB, free: 36.9 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002381/0.9171, allocations: 0.6677 MB / 1.112 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007865/0.925, allocations: 3.882 MB / 1.116 GB, free: 35.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.925, allocations: 0 / 1.116 GB, free: 35.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.925, allocations: 0 / 1.116 GB, free: 35.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001799/0.9252, allocations: 0 / 1.116 GB, free: 35.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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008417/0.9337, allocations: 3.186 MB / 1.119 GB, free: 33.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.9337, allocations: 11.53 kB / 1.119 GB, free: 33.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007036/0.9344, allocations: 289.4 kB / 1.119 GB, free: 33.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.9373, allocations: 0.6383 MB / 1.12 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005265/0.9426, allocations: 2.519 MB / 1.122 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.9429, allocations: 306.5 kB / 1.123 GB, free: 31.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.9432, allocations: 205.8 kB / 1.123 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/0.9478, allocations: 2.465 MB / 1.125 GB, free: 29.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/0.9478, allocations: 7.125 kB / 1.125 GB, free: 29.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.9481, allocations: 91.86 kB / 1.125 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-05/0.9482, allocations: 57.56 kB / 1.125 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/0.9527, allocations: 2.079 MB / 1.127 GB, free: 28.41 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.01353/0.9662, allocations: 10.94 MB / 1.138 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.9688, allocations: 1.209 MB / 1.139 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.9696, allocations: 1.321 MB / 1.141 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.9716, allocations: 0.9841 MB / 1.142 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 5.461e-06/0.9717, allocations: 1.094 kB / 1.142 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=115): time 0.00946/0.9811, allocations: 2.178 MB / 1.144 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.9813, allocations: 481.8 kB / 1.144 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/0.987, allocations: 2.514 MB / 1.147 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003124/0.9874, allocations: 56.77 kB / 1.147 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.9889, allocations: 1.317 MB / 1.148 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005286/0.9894, allocations: 398.8 kB / 1.148 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.9896, allocations: 40.03 kB / 1.148 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9897, allocations: 359.7 kB / 1.149 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.9925, allocations: 0.6857 MB / 1.149 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.9956, allocations: 1.225 MB / 1.151 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.9986, allocations: 0.8143 MB / 1.151 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.9986, allocations: 2.594 kB / 1.151 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007847/1.006, allocations: 2.096 MB / 1.153 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009491/1.007, allocations: 4.319 MB / 1.158 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.007, allocations: 14.59 kB / 1.158 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.682e-05/1.008, allocations: 22.77 kB / 1.158 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/1.011, allocations: 428.4 kB / 1.158 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.113e-05/1.011, allocations: 23.8 kB / 1.158 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/1.014, allocations: 334.4 kB / 1.158 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/1.015, allocations: 67.36 kB / 1.158 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.015, allocations: 4.562 kB / 1.158 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0045/1.019, allocations: 1.842 MB / 1.16 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.019, allocations: 10.03 kB / 1.16 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/1.019, allocations: 21.02 kB / 1.16 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.021, allocations: 414.5 kB / 1.161 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.923e-05/1.021, allocations: 27.2 kB / 1.161 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/1.025, allocations: 308.2 kB / 1.161 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.025, allocations: 67.11 kB / 1.161 GB, free: 2.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * 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.001809/1.027, allocations: 0.6995 MB / 1.162 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005588/1.027, allocations: 281.5 kB / 1.162 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/1.031, allocations: 1.96 MB / 1.164 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/1.031, allocations: 22.25 kB / 1.164 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.031, allocations: 0 / 1.164 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002808/1.034, allocations: 1.505 MB / 1.165 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009239/1.043, allocations: 4.755 MB / 1.17 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.043, allocations: 12.03 kB / 1.17 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.045, allocations: 279.6 kB / 1.17 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/1.045, allocations: 15.94 kB / 1.17 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/1.045, allocations: 35.98 kB / 1.17 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/1.045, allocations: 15.92 kB / 1.17 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/1.045, allocations: 15.89 kB / 1.17 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006629/1.051, allocations: 3.377 MB / 1.174 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.054, allocations: 0.5869 MB / 1.174 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005386/1.054, allocations: 35.98 kB / 1.174 GB, free: 5.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/1.056, allocations: 184.3 kB / 1.175 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.056, allocations: 108.7 kB / 1.175 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.056, allocations: 67.89 kB / 1.175 GB, free: 5.523 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002866/1.059, allocations: 1.743 MB / 1.176 GB, free: 3.781 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/1.059, allocations: 0 / 1.176 GB, free: 3.781 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004283/1.064, allocations: 1.411 MB / 1.178 GB, free: 2.367 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * 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.008005/1.072, allocations: 5.843 MB / 1.183 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00613/1.078, allocations: 2.787 MB / 1.186 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.078, allocations: 4.438 kB / 1.186 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/1.08, allocations: 0.8548 MB / 1.187 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/1.087, allocations: 1.3 MB / 1.188 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.105, allocations: 14.22 MB / 1.202 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/1.106, allocations: 1.815 MB / 1.204 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004027/1.111, allocations: 0.6979 MB / 1.205 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/1.112, allocations: 1.128 MB / 1.206 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of SimCode: time 1.243e-06/1.112, allocations: 0 / 1.206 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.247, allocations: 74.18 MB / 1.278 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.247, allocations: 253.5 kB / 1.278 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.86/6.107, allocations: 0 / 1.278 GB, free: 11.15 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)