Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.5/1.5, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 177 kB / 327 MB, free: 2.082 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.048/2.048, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.0008901/0.00089, allocations: 86.3 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005225, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2924, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1163/0.4087, allocations: 127.9 MB / 1.026 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04058/0.4493, allocations: 25.01 MB / 1.05 GB, free: 5.973 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006816/0.4562, allocations: 115.2 kB / 1.05 GB, free: 5.859 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005908/0.4622, allocations: 1.406 MB / 1.052 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01637/0.4786, allocations: 4.129 MB / 1.056 GB, free: 312 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.5855/1.064, allocations: 3.165 MB / 1.059 GB, free: 40.33 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01998/1.084, allocations: 11.38 MB / 1.07 GB, free: 40.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007403/1.092, allocations: 2.512 MB / 1.072 GB, free: 40.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009534/1.101, allocations: 2.798 MB / 1.075 GB, free: 40.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007083/1.108, allocations: 2.297 MB / 1.077 GB, free: 39.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/1.11, allocations: 130.2 kB / 1.078 GB, free: 39.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/1.12, allocations: 2.584 MB / 1.08 GB, free: 39.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002025/1.122, allocations: 0.6074 MB / 1.081 GB, free: 39.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005651/1.128, allocations: 1.709 MB / 1.082 GB, free: 39.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/1.143, allocations: 6.108 MB / 1.088 GB, free: 38.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.143, allocations: 0 / 1.088 GB, free: 38.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.454e-06/1.143, allocations: 3.938 kB / 1.088 GB, free: 38.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002038/1.143, allocations: 0 / 1.088 GB, free: 38.66 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009075/1.152, allocations: 3.402 MB / 1.092 GB, free: 36.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/1.152, allocations: 10.12 kB / 1.092 GB, free: 36.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/1.153, allocations: 328.1 kB / 1.092 GB, free: 36.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.164, allocations: 1.451 MB / 1.093 GB, free: 36.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/1.171, allocations: 2.915 MB / 1.096 GB, free: 35.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/1.171, allocations: 260.8 kB / 1.096 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000708/1.172, allocations: 235.2 kB / 1.097 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009407/1.181, allocations: 3.215 MB / 1.1 GB, free: 35.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.467e-05/1.181, allocations: 6.156 kB / 1.1 GB, free: 35.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/1.182, allocations: 102.8 kB / 1.1 GB, free: 35.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/1.182, allocations: 68.8 kB / 1.1 GB, free: 35.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/1.193, allocations: 2.9 MB / 1.103 GB, free: 35.23 MB / 0.698 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.0225/1.215, allocations: 13.44 MB / 1.116 GB, free: 27.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/1.22, allocations: 1.525 MB / 1.117 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/1.223, allocations: 0.9675 MB / 1.118 GB, free: 26.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/1.224, allocations: 1.792 MB / 1.12 GB, free: 24.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003685/1.228, allocations: 1.217 MB / 1.121 GB, free: 24.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 4.218e-06/1.228, allocations: 2.422 kB / 1.121 GB, free: 24.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.03904/1.267, allocations: 6.025 MB / 1.127 GB, free: 21.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/1.267, allocations: 0.5791 MB / 1.128 GB, free: 21.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/1.273, allocations: 2.502 MB / 1.13 GB, free: 20.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006173/1.273, allocations: 60.64 kB / 1.13 GB, free: 20.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.275, allocations: 1.343 MB / 1.132 GB, free: 19.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008772/1.276, allocations: 460.1 kB / 1.132 GB, free: 19.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/1.276, allocations: 41 kB / 1.132 GB, free: 19.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.276, allocations: 374.8 kB / 1.132 GB, free: 19.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003727/1.28, allocations: 1.026 MB / 1.133 GB, free: 19.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/1.284, allocations: 1.629 MB / 1.135 GB, free: 18.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0069/1.291, allocations: 2.338 MB / 1.137 GB, free: 16.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/1.291, allocations: 7.938 kB / 1.137 GB, free: 16.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02591/1.317, allocations: 4.172 MB / 1.141 GB, free: 13.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003308/1.317, allocations: 474.4 kB / 1.142 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.317, allocations: 15.09 kB / 1.142 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003288/1.321, allocations: 0.9159 MB / 1.143 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/1.324, allocations: 0.4971 MB / 1.143 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/1.328, allocations: 1.997 MB / 1.145 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007363/1.335, allocations: 0.5323 MB / 1.146 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005226/1.336, allocations: 101.3 kB / 1.146 GB, free: 9.008 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.336, allocations: 7.188 kB / 1.146 GB, free: 9.004 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02385/1.36, allocations: 3.877 MB / 1.15 GB, free: 5.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.265e-05/1.36, allocations: 12 kB / 1.15 GB, free: 5.977 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/1.363, allocations: 0.9224 MB / 1.15 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/1.366, allocations: 0.4968 MB / 1.151 GB, free: 4.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/1.369, allocations: 1.997 MB / 1.153 GB, free: 2.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006476/1.376, allocations: 474.1 kB / 1.153 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005259/1.376, allocations: 107.8 kB / 1.153 GB, free: 2.426 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.002195/1.379, allocations: 0.7009 MB / 1.154 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.38, allocations: 268.7 kB / 1.154 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.391, allocations: 2.576 MB / 1.157 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/1.392, allocations: 16 kB / 1.157 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/1.392, allocations: 0 / 1.157 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01183/1.403, allocations: 2.202 MB / 1.159 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03075/1.434, allocations: 7.544 MB / 1.166 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/1.434, allocations: 8.656 kB / 1.166 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/1.436, allocations: 301.2 kB / 1.167 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/1.44, allocations: 0.8994 MB / 1.168 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003657/1.44, allocations: 55.94 kB / 1.168 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/1.444, allocations: 1.982 MB / 1.17 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/1.444, allocations: 15.81 kB / 1.17 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.458, allocations: 3.724 MB / 1.173 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/1.461, allocations: 0.6531 MB / 1.174 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/1.462, allocations: 36 kB / 1.174 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004693/1.467, allocations: 294.3 kB / 1.174 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/1.467, allocations: 122.1 kB / 1.174 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003255/1.468, allocations: 75.92 kB / 1.174 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005122/1.473, allocations: 1.755 MB / 1.176 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.71e-07/1.473, allocations: 0 / 1.176 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008904/1.482, allocations: 1.727 MB / 1.178 GB, free: 9.289 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01638/1.498, allocations: 4.997 MB / 1.183 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01427/1.513, allocations: 3.787 MB / 1.186 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.268e-05/1.513, allocations: 7.266 kB / 1.186 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004501/1.517, allocations: 1.106 MB / 1.187 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01311/1.53, allocations: 1.45 MB / 1.189 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1065/1.637, allocations: 28.39 MB / 1.217 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/1.64, allocations: 1.715 MB / 1.218 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006737/1.646, allocations: 0.6846 MB / 1.219 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003803/1.65, allocations: 1.179 MB / 1.22 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of SimCode: time 1.844e-06/1.65, allocations: 3.375 kB / 1.22 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/1.871, allocations: 93.09 MB / 1.311 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000311/1.871, allocations: 310.4 kB / 1.311 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/8.392, allocations: 3.938 kB / 1.311 GB, free: 15.55 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)