Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.382/2.382, allocations: 248.7 MB / 256.2 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001543, allocations: 182.8 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 82.05 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.892e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.942/2.144, allocations: 410.3 MB / 1.285 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/2.144, allocations: 88.59 kB / 1.285 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.527/6.671, allocations: 0.9052 GB / 2.19 GB, free: 53.78 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.236e-06/6.671, allocations: 4 kB / 2.19 GB, free: 53.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005206/6.672, allocations: 67.91 kB / 2.19 GB, free: 53.71 MB / 0.8698 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.01148/6.684, allocations: 2.933 MB / 2.193 GB, free: 50.74 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/6.684, allocations: 16.02 kB / 2.193 GB, free: 50.72 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/6.689, allocations: 0.5971 MB / 2.194 GB, free: 50.12 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/6.7, allocations: 2.92 MB / 2.196 GB, free: 47.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004626/6.7, allocations: 230.6 kB / 2.197 GB, free: 46.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008333/6.701, allocations: 120 kB / 2.197 GB, free: 46.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006182/6.707, allocations: 1.796 MB / 2.198 GB, free: 45.04 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/6.714, allocations: 2.071 MB / 2.201 GB, free: 42.83 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.541e-05/6.714, allocations: 7.938 kB / 2.201 GB, free: 42.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/6.715, allocations: 7.938 kB / 2.201 GB, free: 42.81 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.702e-05/6.715, allocations: 63.94 kB / 2.201 GB, free: 42.75 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.02476/6.739, allocations: 11.01 MB / 2.211 GB, free: 31.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/6.743, allocations: 1.189 MB / 2.212 GB, free: 30.14 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/6.744, allocations: 0.6496 MB / 2.213 GB, free: 29.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/6.745, allocations: 1.335 MB / 2.214 GB, free: 27.87 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/6.747, allocations: 0.9149 MB / 2.215 GB, free: 26.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=107): time 5.29e-06/6.748, allocations: 0 / 2.215 GB, free: 26.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.005012/6.753, allocations: 1.442 MB / 2.217 GB, free: 25.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/6.753, allocations: 0.6768 MB / 2.217 GB, free: 24.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/6.758, allocations: 1.989 MB / 2.219 GB, free: 22.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005346/6.758, allocations: 29.7 kB / 2.219 GB, free: 22.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/6.76, allocations: 1.345 MB / 2.221 GB, free: 21.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007973/6.761, allocations: 366.7 kB / 2.221 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/6.761, allocations: 7.938 kB / 2.221 GB, free: 20.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001339/6.761, allocations: 361.9 kB / 2.221 GB, free: 20.46 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/6.763, allocations: 0.6131 MB / 2.222 GB, free: 19.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/6.765, allocations: 1.174 MB / 2.223 GB, free: 18.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/6.768, allocations: 0.7463 MB / 2.224 GB, free: 17.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/6.768, allocations: 4 kB / 2.224 GB, free: 17.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006403/6.774, allocations: 1.822 MB / 2.226 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009664/6.775, allocations: 4.256 MB / 2.23 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/6.775, allocations: 8 kB / 2.23 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.598e-05/6.775, allocations: 20 kB / 2.23 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/6.779, allocations: 395.4 kB / 2.23 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.846e-05/6.779, allocations: 31.91 kB / 2.23 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/6.784, allocations: 254.3 kB / 2.23 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/6.784, allocations: 67.97 kB / 2.231 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/6.785, allocations: 4 kB / 2.231 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004639/6.789, allocations: 1.542 MB / 2.232 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/6.789, allocations: 8 kB / 2.232 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/6.789, allocations: 24.86 kB / 2.232 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/6.793, allocations: 391.4 kB / 2.232 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/6.793, allocations: 31.92 kB / 2.232 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/6.797, allocations: 218.6 kB / 2.233 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/6.798, allocations: 71.92 kB / 2.233 GB, free: 8.172 MB / 0.8698 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,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * 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.0005704/6.798, allocations: 152.8 kB / 2.233 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004708/6.803, allocations: 1.442 MB / 2.234 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/6.804, allocations: 249 kB / 2.235 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/6.809, allocations: 1.644 MB / 2.236 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/6.809, allocations: 16 kB / 2.236 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/6.809, allocations: 4 kB / 2.236 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002949/6.812, allocations: 1.289 MB / 2.237 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/6.825, allocations: 5.113 MB / 2.242 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/6.825, allocations: 4 kB / 2.242 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/6.828, allocations: 264.2 kB / 2.243 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.218e-05/6.828, allocations: 12 kB / 2.243 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/6.828, allocations: 23.72 kB / 2.243 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.631e-05/6.828, allocations: 12 kB / 2.243 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/6.828, allocations: 11.94 kB / 2.243 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008023/6.836, allocations: 2.9 MB / 2.246 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/6.839, allocations: 0.5835 MB / 2.246 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/6.841, allocations: 12 kB / 2.246 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00392/6.844, allocations: 135.7 kB / 2.246 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005557/6.845, allocations: 104.5 kB / 2.246 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/6.845, allocations: 51.95 kB / 2.246 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004818/6.85, allocations: 1.536 MB / 2.248 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/6.85, allocations: 3.938 kB / 2.248 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009571/6.86, allocations: 1.496 MB / 2.249 GB, free: 6.695 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01192/6.872, allocations: 5.79 MB / 2.255 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.708/7.58, allocations: 2.518 MB / 2.258 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/7.58, allocations: 1.5 kB / 2.258 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002518/7.582, allocations: 0.7307 MB / 2.258 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/7.593, allocations: 1.045 MB / 2.259 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/7.611, allocations: 4.185 MB / 2.263 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003715/7.615, allocations: 1.813 MB / 2.265 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008677/7.624, allocations: 0.8886 MB / 2.266 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002948/7.627, allocations: 1.057 MB / 2.267 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of SimCode: time 2.675e-06/7.627, allocations: 1.219 kB / 2.267 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/7.835, allocations: 72.16 MB / 2.337 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/7.835, allocations: 193.9 kB / 2.338 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.836/13.67, allocations: 3.625 kB / 2.338 GB, free: 112.4 MB / 0.8855 GB