Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.639/1.639, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001112/0.001112, allocations: 183.2 kB / 371.8 MB, free: 10.27 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.546/1.546, 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.0008936/0.0008935, allocations: 90.91 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004137, allocations: 11.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2453, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.7305/0.9758, allocations: 109.3 MB / 1.086 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04425/1.02, allocations: 21.2 MB / 1.107 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006964/1.027, allocations: 108.9 kB / 1.107 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007038/1.034, allocations: 1.459 MB / 1.108 GB, free: 30.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01935/1.054, allocations: 4.08 MB / 1.112 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01354/1.067, allocations: 3.154 MB / 1.116 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01399/1.081, allocations: 5.058 MB / 1.12 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007984/1.089, allocations: 2.272 MB / 1.123 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01176/1.101, allocations: 2.421 MB / 1.125 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006397/1.107, allocations: 1.564 MB / 1.127 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001737/1.109, allocations: 133.1 kB / 1.127 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009384/1.119, allocations: 1.742 MB / 1.128 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002229/1.121, allocations: 0.5672 MB / 1.129 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004402/1.125, allocations: 0.7298 MB / 1.13 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01499/1.14, allocations: 4.559 MB / 1.134 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.14, allocations: 0 / 1.134 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.222e-06/1.141, allocations: 1.406 kB / 1.134 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004223/1.141, allocations: 3.938 kB / 1.134 GB, free: 20.71 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01193/1.153, allocations: 3.347 MB / 1.137 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.153, allocations: 9.219 kB / 1.137 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001322/1.154, allocations: 325.9 kB / 1.138 GB, free: 18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/1.166, allocations: 1.368 MB / 1.139 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008492/1.174, allocations: 2.687 MB / 1.142 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/1.175, allocations: 248.8 kB / 1.142 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008581/1.176, allocations: 245.5 kB / 1.142 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008204/1.184, allocations: 3.134 MB / 1.145 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/1.184, allocations: 7.297 kB / 1.145 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/1.184, allocations: 100.4 kB / 1.145 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/1.184, allocations: 75.02 kB / 1.145 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008841/1.193, allocations: 2.769 MB / 1.148 GB, free: 11.55 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.01933/1.213, allocations: 13.37 MB / 1.161 GB, free: 136 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/1.217, allocations: 1.422 MB / 1.163 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/1.218, allocations: 1.778 MB / 1.164 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003461/1.222, allocations: 1.162 MB / 1.165 GB, free: 12.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 4.349e-06/1.222, allocations: 336 / 1.165 GB, free: 12.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.02069/1.243, allocations: 4.249 MB / 1.17 GB, free: 10.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/1.243, allocations: 0.5747 MB / 1.17 GB, free: 9.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/1.248, allocations: 2.588 MB / 1.173 GB, free: 8.172 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003556/1.248, allocations: 57.7 kB / 1.173 GB, free: 8.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/1.249, allocations: 1.336 MB / 1.174 GB, free: 6.758 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/1.25, allocations: 445.7 kB / 1.174 GB, free: 6.316 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.25, allocations: 32 kB / 1.174 GB, free: 6.285 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.25, allocations: 373.9 kB / 1.175 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.254, allocations: 0.9641 MB / 1.176 GB, free: 4.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/1.257, allocations: 1.54 MB / 1.177 GB, free: 3.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00359/1.261, allocations: 1.108 MB / 1.178 GB, free: 2.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.261, allocations: 4 kB / 1.178 GB, free: 2.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01194/1.273, allocations: 3.112 MB / 1.181 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002092/1.275, allocations: 5.025 MB / 1.186 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/1.275, allocations: 12 kB / 1.186 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/1.278, allocations: 0.7247 MB / 1.187 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/1.281, allocations: 0.5109 MB / 1.188 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/1.283, allocations: 1.797 MB / 1.189 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005718/1.289, allocations: 0.5139 MB / 1.19 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/1.289, allocations: 107.9 kB / 1.19 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.289, allocations: 8 kB / 1.19 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01153/1.301, allocations: 2.829 MB / 1.193 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.746e-05/1.301, allocations: 12 kB / 1.193 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/1.303, allocations: 0.7215 MB / 1.193 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.306, allocations: 0.5031 MB / 1.194 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/1.309, allocations: 1.798 MB / 1.196 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/1.314, allocations: 473.7 kB / 1.196 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/1.314, allocations: 103.9 kB / 1.196 GB, free: 15.26 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002093/1.316, allocations: 0.6979 MB / 1.197 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.317, allocations: 268.8 kB / 1.197 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.329, allocations: 2.609 MB / 1.2 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/1.329, allocations: 15.98 kB / 1.2 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.329, allocations: 4 kB / 1.2 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00948/1.338, allocations: 2.217 MB / 1.202 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.356, allocations: 6.547 MB / 1.208 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.356, allocations: 8.125 kB / 1.208 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/1.357, allocations: 299.8 kB / 1.209 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002327/1.36, allocations: 0.7085 MB / 1.209 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/1.36, allocations: 51.94 kB / 1.209 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/1.362, allocations: 1.788 MB / 1.211 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.362, allocations: 11.94 kB / 1.211 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.374, allocations: 4.287 MB / 1.215 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.377, allocations: 0.6768 MB / 1.216 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/1.378, allocations: 43.98 kB / 1.216 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/1.382, allocations: 283.5 kB / 1.216 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.382, allocations: 108.7 kB / 1.216 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/1.383, allocations: 79.86 kB / 1.216 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004414/1.387, allocations: 1.809 MB / 1.218 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.6e-07/1.387, allocations: 0 / 1.218 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007939/1.395, allocations: 1.688 MB / 1.22 GB, free: 6.328 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01557/1.411, allocations: 7.421 MB / 1.227 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.423, allocations: 3.586 MB / 1.231 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.921e-05/1.423, allocations: 4.75 kB / 1.231 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003577/1.427, allocations: 1.05 MB / 1.232 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/1.435, allocations: 1.389 MB / 1.233 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.46, allocations: 15.79 MB / 1.248 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/1.463, allocations: 1.765 MB / 1.25 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005043/1.468, allocations: 0.7006 MB / 1.251 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/1.47, allocations: 1.155 MB / 1.252 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of SimCode: time 2.474e-06/1.47, allocations: 0 / 1.252 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/1.633, allocations: 89.4 MB / 1.339 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/1.633, allocations: 295.4 kB / 1.339 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.155/6.788, allocations: 0 / 1.339 GB, free: 11.58 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)