Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.887 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.001185/0.001185, allocations: 183.4 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009872/0.0009873, allocations: 82.48 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.33e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2283, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.624/1.852, allocations: 410.5 MB / 1.286 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/1.852, allocations: 92.58 kB / 1.286 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.866/4.718, allocations: 0.9052 GB / 2.191 GB, free: 51.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.896e-06/4.718, allocations: 0 / 2.191 GB, free: 51.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004435/4.719, allocations: 83.53 kB / 2.191 GB, free: 51.11 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.008482/4.727, allocations: 2.924 MB / 2.194 GB, free: 48.14 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/4.727, allocations: 12.02 kB / 2.194 GB, free: 48.13 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/4.73, allocations: 0.5893 MB / 2.195 GB, free: 47.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005708/4.736, allocations: 2.931 MB / 2.198 GB, free: 44.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/4.736, allocations: 226.6 kB / 2.198 GB, free: 44.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/4.736, allocations: 120 kB / 2.198 GB, free: 44.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002841/4.739, allocations: 1.8 MB / 2.2 GB, free: 42.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/4.742, allocations: 2.071 MB / 2.202 GB, free: 40.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/4.742, allocations: 4 kB / 2.202 GB, free: 40.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/4.742, allocations: 7.938 kB / 2.202 GB, free: 40.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/4.743, allocations: 59.98 kB / 2.202 GB, free: 40.17 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.01283/4.755, allocations: 11 MB / 2.213 GB, free: 28.74 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/4.757, allocations: 1.192 MB / 2.214 GB, free: 27.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/4.758, allocations: 0.6573 MB / 2.215 GB, free: 26.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/4.758, allocations: 1.323 MB / 2.216 GB, free: 25.23 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/4.76, allocations: 0.9256 MB / 2.217 GB, free: 24.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=107): time 3.166e-06/4.76, allocations: 0 / 2.217 GB, free: 24.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.002599/4.762, allocations: 1.438 MB / 2.218 GB, free: 22.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/4.762, allocations: 0.6806 MB / 2.219 GB, free: 21.93 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/4.765, allocations: 1.985 MB / 2.221 GB, free: 19.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/4.765, allocations: 37.64 kB / 2.221 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/4.767, allocations: 1.348 MB / 2.222 GB, free: 18.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/4.767, allocations: 362.9 kB / 2.222 GB, free: 18.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/4.767, allocations: 4 kB / 2.222 GB, free: 18.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/4.767, allocations: 361.9 kB / 2.223 GB, free: 17.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/4.768, allocations: 0.6092 MB / 2.223 GB, free: 17.19 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009952/4.769, allocations: 1.174 MB / 2.225 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/4.77, allocations: 0.7501 MB / 2.225 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/4.77, allocations: 4 kB / 2.225 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003121/4.773, allocations: 1.818 MB / 2.227 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008174/4.774, allocations: 4.252 MB / 2.231 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/4.774, allocations: 8 kB / 2.231 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/4.774, allocations: 23.94 kB / 2.231 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/4.776, allocations: 395.4 kB / 2.232 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/4.776, allocations: 19.94 kB / 2.232 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/4.778, allocations: 258.3 kB / 2.232 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/4.779, allocations: 75.91 kB / 2.232 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/4.779, allocations: 4 kB / 2.232 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002361/4.781, allocations: 1.534 MB / 2.233 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/4.781, allocations: 12 kB / 2.233 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/4.781, allocations: 20.78 kB / 2.233 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/4.783, allocations: 399.4 kB / 2.234 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/4.783, allocations: 31.88 kB / 2.234 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/4.785, allocations: 214.7 kB / 2.234 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/4.785, allocations: 67.97 kB / 2.234 GB, free: 5.523 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.0003707/4.785, allocations: 148.9 kB / 2.234 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002465/4.788, allocations: 1.446 MB / 2.236 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/4.788, allocations: 249 kB / 2.236 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/4.791, allocations: 1.652 MB / 2.238 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/4.791, allocations: 18 kB / 2.238 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/4.791, allocations: 4 kB / 2.238 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/4.792, allocations: 1.289 MB / 2.239 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007968/4.8, allocations: 5.11 MB / 2.244 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/4.8, allocations: 4 kB / 2.244 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/4.802, allocations: 268.2 kB / 2.244 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-05/4.802, allocations: 11.98 kB / 2.244 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/4.802, allocations: 23.97 kB / 2.244 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/4.802, allocations: 11.94 kB / 2.244 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/4.802, allocations: 4 kB / 2.244 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/4.806, allocations: 2.912 MB / 2.247 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/4.808, allocations: 0.5835 MB / 2.248 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/4.808, allocations: 8 kB / 2.248 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/4.81, allocations: 139.6 kB / 2.248 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/4.81, allocations: 108.5 kB / 2.248 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/4.81, allocations: 54.77 kB / 2.248 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002556/4.813, allocations: 1.536 MB / 2.249 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/4.813, allocations: 0 / 2.249 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004432/4.817, allocations: 1.484 MB / 2.251 GB, free: 4.02 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.6188/5.436, allocations: 5.792 MB / 2.256 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006203/5.443, allocations: 2.518 MB / 2.259 GB, free: 116 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/5.443, allocations: 5.312 kB / 2.259 GB, free: 116 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/5.444, allocations: 0.7292 MB / 2.26 GB, free: 116 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006512/5.451, allocations: 1.049 MB / 2.261 GB, free: 116 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/5.462, allocations: 4.188 MB / 2.265 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/5.463, allocations: 1.812 MB / 2.267 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005048/5.469, allocations: 0.8888 MB / 2.267 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/5.47, allocations: 1.057 MB / 2.268 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of SimCode: time 8.11e-07/5.47, allocations: 1.859 kB / 2.268 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/5.609, allocations: 72.18 MB / 2.339 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/5.61, allocations: 198.1 kB / 2.339 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.778/10.39, allocations: 2.922 kB / 2.339 GB, free: 110.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)