Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.2 MB / 303.2 MB, free: 8.277 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.001582/0.001582, allocations: 175.2 kB / 371.8 MB, free: 10.25 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.697/1.697, allocations: 205.4 MB / 0.6305 GB, free: 9.93 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.0009432/0.0009431, allocations: 106.7 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004254, allocations: 11.94 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.6711/0.9526, allocations: 109.4 MB / 1.086 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03518/0.9878, allocations: 21.14 MB / 1.107 GB, free: 31.33 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00718/0.995, allocations: 116.5 kB / 1.107 GB, free: 31.33 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006809/1.002, allocations: 1.46 MB / 1.108 GB, free: 30.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/1.019, allocations: 4.072 MB / 1.112 GB, free: 29.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01251/1.032, allocations: 3.163 MB / 1.116 GB, free: 28.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01281/1.045, allocations: 5.068 MB / 1.12 GB, free: 26.99 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006/1.051, allocations: 2.274 MB / 1.123 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008253/1.059, allocations: 2.425 MB / 1.125 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004535/1.064, allocations: 1.582 MB / 1.127 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001269/1.065, allocations: 130.8 kB / 1.127 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007818/1.073, allocations: 1.747 MB / 1.128 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001628/1.075, allocations: 0.5744 MB / 1.129 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/1.077, allocations: 0.7268 MB / 1.13 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009776/1.087, allocations: 4.584 MB / 1.134 GB, free: 20.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.087, allocations: 4 kB / 1.134 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/1.087, allocations: 0.9375 kB / 1.134 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002347/1.088, allocations: 0 / 1.134 GB, free: 20.66 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01004/1.098, allocations: 3.344 MB / 1.137 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/1.098, allocations: 16.89 kB / 1.137 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001287/1.099, allocations: 326.3 kB / 1.138 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/1.111, allocations: 1.456 MB / 1.139 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008308/1.119, allocations: 2.709 MB / 1.142 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004489/1.12, allocations: 248.9 kB / 1.142 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009716/1.121, allocations: 243.1 kB / 1.142 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/1.131, allocations: 3.201 MB / 1.145 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/1.131, allocations: 10.67 kB / 1.145 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005365/1.132, allocations: 104.7 kB / 1.146 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/1.132, allocations: 67.25 kB / 1.146 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.142, allocations: 2.882 MB / 1.148 GB, free: 11.38 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.02161/1.164, allocations: 13.54 MB / 1.162 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/1.168, allocations: 1.532 MB / 1.163 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/1.17, allocations: 1.784 MB / 1.165 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003775/1.174, allocations: 1.238 MB / 1.166 GB, free: 12.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 4.218e-06/1.174, allocations: 0 / 1.166 GB, free: 12.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.0386/1.212, allocations: 5.982 MB / 1.172 GB, free: 9.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002246/1.213, allocations: 0.5766 MB / 1.173 GB, free: 8.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004549/1.217, allocations: 2.59 MB / 1.175 GB, free: 5.699 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005633/1.218, allocations: 57.7 kB / 1.175 GB, free: 5.637 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001441/1.219, allocations: 1.344 MB / 1.176 GB, free: 4.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008133/1.22, allocations: 467.4 kB / 1.177 GB, free: 3.816 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.22, allocations: 36 kB / 1.177 GB, free: 3.781 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.22, allocations: 369.9 kB / 1.177 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/1.224, allocations: 1.019 MB / 1.178 GB, free: 2.395 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/1.228, allocations: 1.603 MB / 1.18 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/1.232, allocations: 1.16 MB / 1.181 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.232, allocations: 4 kB / 1.181 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02187/1.254, allocations: 4.139 MB / 1.185 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002103/1.256, allocations: 5.022 MB / 1.19 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/1.256, allocations: 15.95 kB / 1.19 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00349/1.26, allocations: 0.9559 MB / 1.191 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/1.263, allocations: 0.507 MB / 1.191 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/1.267, allocations: 1.993 MB / 1.193 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006258/1.273, allocations: 0.5372 MB / 1.194 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005111/1.274, allocations: 103.9 kB / 1.194 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.274, allocations: 4 kB / 1.194 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02084/1.294, allocations: 3.863 MB / 1.198 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-05/1.295, allocations: 12.94 kB / 1.198 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/1.298, allocations: 0.9573 MB / 1.199 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.301, allocations: 0.5031 MB / 1.199 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/1.304, allocations: 1.988 MB / 1.201 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/1.309, allocations: 489.5 kB / 1.202 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00046/1.31, allocations: 107.9 kB / 1.202 GB, free: 9.637 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001889/1.312, allocations: 0.6998 MB / 1.202 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.313, allocations: 272.8 kB / 1.203 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.324, allocations: 2.569 MB / 1.205 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.324, allocations: 16 kB / 1.205 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.324, allocations: 8 kB / 1.205 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00987/1.334, allocations: 2.185 MB / 1.207 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.361, allocations: 7.609 MB / 1.215 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/1.362, allocations: 8.656 kB / 1.215 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/1.363, allocations: 295.5 kB / 1.215 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003235/1.367, allocations: 0.9396 MB / 1.216 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/1.367, allocations: 59.89 kB / 1.216 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/1.37, allocations: 1.978 MB / 1.218 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/1.37, allocations: 11.98 kB / 1.218 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.382, allocations: 4.461 MB / 1.222 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/1.385, allocations: 0.6885 MB / 1.223 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007732/1.386, allocations: 39.98 kB / 1.223 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003486/1.389, allocations: 299.4 kB / 1.223 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/1.39, allocations: 120.7 kB / 1.223 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/1.39, allocations: 71.92 kB / 1.223 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003141/1.393, allocations: 1.817 MB / 1.225 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.9e-07/1.393, allocations: 0 / 1.225 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005873/1.399, allocations: 1.704 MB / 1.227 GB, free: 15.04 MB / 0.7605 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01436/1.413, allocations: 7.513 MB / 1.234 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.426, allocations: 3.764 MB / 1.238 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/1.426, allocations: 448 / 1.238 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/1.43, allocations: 1.106 MB / 1.239 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007432/1.437, allocations: 1.395 MB / 1.24 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.458, allocations: 15.64 MB / 1.256 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.46, allocations: 1.773 MB / 1.257 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003892/1.464, allocations: 0.6937 MB / 1.258 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/1.466, allocations: 1.159 MB / 1.259 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of SimCode: time 5.21e-07/1.466, allocations: 0 / 1.259 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1575/1.623, allocations: 91.99 MB / 1.349 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/1.623, allocations: 279.4 kB / 1.349 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.572/7.195, allocations: 0 / 1.349 GB, free: 1.402 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)