Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.599/2.599, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.002525/0.002525, allocations: 178.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001093/0.001093, allocations: 104.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004939, allocations: 13 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.8957/1.108, allocations: 96.52 MB / 1.073 GB, free: 37.75 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03944/1.147, allocations: 18.22 MB / 1.09 GB, free: 37.59 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005562/1.153, allocations: 88.94 kB / 1.09 GB, free: 37.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008507/1.162, allocations: 1.568 MB / 1.092 GB, free: 37.58 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01788/1.18, allocations: 3.62 MB / 1.095 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01367/1.193, allocations: 2.719 MB / 1.098 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01338/1.207, allocations: 4.699 MB / 1.103 GB, free: 37.44 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005976/1.213, allocations: 1.994 MB / 1.105 GB, free: 37.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008276/1.221, allocations: 2.181 MB / 1.107 GB, free: 36.89 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/1.226, allocations: 1.548 MB / 1.108 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00154/1.228, allocations: 123.5 kB / 1.108 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008194/1.236, allocations: 1.214 MB / 1.11 GB, free: 36.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002116/1.238, allocations: 0.6322 MB / 1.11 GB, free: 36.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/1.241, allocations: 0.6683 MB / 1.111 GB, free: 36.26 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009354/1.25, allocations: 3.876 MB / 1.115 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.25, allocations: 0 / 1.115 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.855e-06/1.25, allocations: 0 / 1.115 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001723/1.251, allocations: 0 / 1.115 GB, free: 35.91 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.01069/1.261, allocations: 3.188 MB / 1.118 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.261, allocations: 9.969 kB / 1.118 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00122/1.263, allocations: 289.7 kB / 1.118 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/1.267, allocations: 0.6485 MB / 1.119 GB, free: 33.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/1.276, allocations: 2.514 MB / 1.121 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004965/1.276, allocations: 310.3 kB / 1.121 GB, free: 31.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007765/1.277, allocations: 207.7 kB / 1.122 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008575/1.286, allocations: 2.465 MB / 1.124 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.104e-05/1.286, allocations: 6.562 kB / 1.124 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004399/1.286, allocations: 86.94 kB / 1.124 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/1.286, allocations: 66.08 kB / 1.124 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/1.298, allocations: 2.08 MB / 1.126 GB, free: 29.06 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.02834/1.326, allocations: 10.95 MB / 1.137 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005137/1.331, allocations: 1.203 MB / 1.138 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/1.333, allocations: 1.322 MB / 1.139 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004172/1.337, allocations: 0.9814 MB / 1.14 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 7.875e-06/1.337, allocations: 9.234 kB / 1.14 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=115): time 0.01124/1.348, allocations: 2.177 MB / 1.142 GB, free: 16.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/1.348, allocations: 482.2 kB / 1.143 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007261/1.356, allocations: 2.513 MB / 1.145 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005787/1.356, allocations: 56.86 kB / 1.145 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.358, allocations: 1.323 MB / 1.147 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008175/1.359, allocations: 402.2 kB / 1.147 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.359, allocations: 28.78 kB / 1.147 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.359, allocations: 363.2 kB / 1.148 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/1.362, allocations: 0.6915 MB / 1.148 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003601/1.366, allocations: 1.216 MB / 1.149 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/1.369, allocations: 0.8229 MB / 1.15 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/1.369, allocations: 3.219 kB / 1.15 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.008972/1.378, allocations: 2.094 MB / 1.152 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009787/1.379, allocations: 4.319 MB / 1.156 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/1.38, allocations: 12 kB / 1.156 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.419e-05/1.38, allocations: 17.16 kB / 1.156 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/1.383, allocations: 428.5 kB / 1.157 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.52e-05/1.383, allocations: 22.91 kB / 1.157 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/1.388, allocations: 334.3 kB / 1.157 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005409/1.389, allocations: 74.48 kB / 1.157 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.389, allocations: 7.281 kB / 1.157 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008625/1.397, allocations: 1.834 MB / 1.159 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/1.398, allocations: 13.61 kB / 1.159 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/1.398, allocations: 18.44 kB / 1.159 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/1.401, allocations: 421.5 kB / 1.16 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.901e-05/1.401, allocations: 21.16 kB / 1.16 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/1.406, allocations: 314.4 kB / 1.16 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000657/1.407, allocations: 70.25 kB / 1.16 GB, free: 3.215 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.002704/1.41, allocations: 0.698 MB / 1.161 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.411, allocations: 274.5 kB / 1.161 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007376/1.418, allocations: 1.951 MB / 1.163 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/1.418, allocations: 18.23 kB / 1.163 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.418, allocations: 6.562 kB / 1.163 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008609/1.427, allocations: 1.507 MB / 1.164 GB, free: 328 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/1.453, allocations: 4.756 MB / 1.169 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/1.453, allocations: 4.75 kB / 1.169 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004714/1.458, allocations: 287.5 kB / 1.169 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-05/1.458, allocations: 16 kB / 1.169 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000432/1.459, allocations: 31.98 kB / 1.169 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-05/1.459, allocations: 15.98 kB / 1.169 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.859e-05/1.459, allocations: 15.89 kB / 1.169 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/1.474, allocations: 3.377 MB / 1.173 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.476, allocations: 0.5908 MB / 1.173 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.477, allocations: 31.98 kB / 1.173 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004245/1.482, allocations: 180.7 kB / 1.173 GB, free: 6.605 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/1.482, allocations: 124.7 kB / 1.173 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003557/1.483, allocations: 59.95 kB / 1.174 GB, free: 6.426 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005099/1.488, allocations: 1.735 MB / 1.175 GB, free: 4.691 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.032e-06/1.488, allocations: 0 / 1.175 GB, free: 4.691 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007858/1.496, allocations: 1.415 MB / 1.177 GB, free: 3.273 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.01534/1.511, allocations: 5.837 MB / 1.182 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.523, allocations: 2.785 MB / 1.185 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/1.523, allocations: 4.438 kB / 1.185 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003948/1.527, allocations: 0.8548 MB / 1.186 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/1.539, allocations: 1.307 MB / 1.187 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/1.563, allocations: 14.22 MB / 1.201 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/1.565, allocations: 1.815 MB / 1.203 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005827/1.571, allocations: 0.6969 MB / 1.203 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003098/1.574, allocations: 1.128 MB / 1.205 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of SimCode: time 1.643e-06/1.574, allocations: 0 / 1.205 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2093/1.784, allocations: 74.16 MB / 1.277 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003871/1.784, allocations: 246.9 kB / 1.277 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.743/7.527, allocations: 0 / 1.277 GB, free: 12.23 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)