Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.688/2.688, allocations: 287.3 MB / 302.3 MB, free: 8.379 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.001638/0.001638, allocations: 175 kB / 370.8 MB, free: 10.86 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.222/2.222, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001272/0.001271, allocations: 104.2 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.000526, allocations: 11.98 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2574, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.8948/1.152, allocations: 109.4 MB / 1.085 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04873/1.201, allocations: 21.16 MB / 1.106 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00708/1.208, allocations: 109.9 kB / 1.106 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008096/1.216, allocations: 1.456 MB / 1.107 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02464/1.241, allocations: 4.078 MB / 1.111 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01785/1.259, allocations: 3.152 MB / 1.114 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01577/1.275, allocations: 5.071 MB / 1.119 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006493/1.281, allocations: 2.278 MB / 1.122 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009409/1.291, allocations: 2.427 MB / 1.124 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005543/1.296, allocations: 1.571 MB / 1.125 GB, free: 24.47 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001616/1.298, allocations: 132.1 kB / 1.126 GB, free: 24.47 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/1.309, allocations: 1.748 MB / 1.127 GB, free: 24.07 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002029/1.311, allocations: 0.5724 MB / 1.128 GB, free: 23.81 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002871/1.314, allocations: 0.726 MB / 1.129 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/1.326, allocations: 4.58 MB / 1.133 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.326, allocations: 0 / 1.133 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.947e-06/1.326, allocations: 0 / 1.133 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002456/1.326, allocations: 4 kB / 1.133 GB, free: 21.58 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.0129/1.339, allocations: 3.36 MB / 1.136 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/1.339, allocations: 9.062 kB / 1.136 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001451/1.34, allocations: 326.4 kB / 1.137 GB, free: 18.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02274/1.363, allocations: 1.454 MB / 1.138 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009849/1.373, allocations: 2.711 MB / 1.141 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005696/1.374, allocations: 258.3 kB / 1.141 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.375, allocations: 238.4 kB / 1.141 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/1.392, allocations: 3.2 MB / 1.144 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/1.392, allocations: 7.688 kB / 1.144 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008799/1.393, allocations: 102 kB / 1.144 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/1.393, allocations: 70.97 kB / 1.144 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/1.413, allocations: 2.883 MB / 1.147 GB, free: 12.28 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.03748/1.45, allocations: 13.54 MB / 1.16 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/1.462, allocations: 1.525 MB / 1.162 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003918/1.466, allocations: 1.774 MB / 1.164 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01028/1.476, allocations: 1.243 MB / 1.165 GB, free: 13.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 1.03e-05/1.476, allocations: 3.984 kB / 1.165 GB, free: 13.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.08648/1.563, allocations: 5.985 MB / 1.171 GB, free: 10.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004017/1.563, allocations: 0.5844 MB / 1.171 GB, free: 9.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008241/1.571, allocations: 2.582 MB / 1.174 GB, free: 6.828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006713/1.572, allocations: 61.7 kB / 1.174 GB, free: 6.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002397/1.575, allocations: 1.345 MB / 1.175 GB, free: 5.402 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.576, allocations: 457.5 kB / 1.176 GB, free: 4.949 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/1.576, allocations: 32 kB / 1.176 GB, free: 4.918 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002649/1.576, allocations: 373.9 kB / 1.176 GB, free: 4.547 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008186/1.585, allocations: 1.023 MB / 1.177 GB, free: 3.523 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009277/1.594, allocations: 1.607 MB / 1.179 GB, free: 1.684 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008529/1.603, allocations: 1.154 MB / 1.18 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/1.603, allocations: 8 kB / 1.18 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04552/1.648, allocations: 4.143 MB / 1.184 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002665/1.651, allocations: 5.014 MB / 1.189 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.466e-05/1.651, allocations: 12 kB / 1.189 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006341/1.657, allocations: 0.963 MB / 1.19 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/1.663, allocations: 0.507 MB / 1.19 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006186/1.67, allocations: 1.989 MB / 1.192 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.68, allocations: 0.5443 MB / 1.193 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008095/1.681, allocations: 103.9 kB / 1.193 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.681, allocations: 4 kB / 1.193 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04392/1.725, allocations: 3.863 MB / 1.196 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-05/1.725, allocations: 15.95 kB / 1.196 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006171/1.731, allocations: 0.9557 MB / 1.197 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005791/1.737, allocations: 0.5031 MB / 1.198 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/1.743, allocations: 1.994 MB / 1.2 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009396/1.753, allocations: 481.9 kB / 1.2 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008739/1.754, allocations: 107.9 kB / 1.2 GB, free: 10.77 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.003122/1.757, allocations: 0.7018 MB / 1.201 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.758, allocations: 268.8 kB / 1.201 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02353/1.782, allocations: 2.584 MB / 1.204 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/1.782, allocations: 12 kB / 1.204 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/1.782, allocations: 4 kB / 1.204 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02107/1.803, allocations: 2.185 MB / 1.206 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05462/1.858, allocations: 7.605 MB / 1.213 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-05/1.858, allocations: 8 kB / 1.213 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003863/1.862, allocations: 296.2 kB / 1.214 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006026/1.868, allocations: 0.9409 MB / 1.215 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004444/1.868, allocations: 55.89 kB / 1.215 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005908/1.874, allocations: 1.982 MB / 1.217 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/1.874, allocations: 11.94 kB / 1.217 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02524/1.9, allocations: 4.46 MB / 1.221 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/1.903, allocations: 0.6846 MB / 1.222 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/1.904, allocations: 47.92 kB / 1.222 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008064/1.913, allocations: 301.8 kB / 1.222 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005795/1.913, allocations: 116.7 kB / 1.222 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000412/1.914, allocations: 79.91 kB / 1.222 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00666/1.92, allocations: 1.809 MB / 1.224 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.32e-07/1.92, allocations: 4 kB / 1.224 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01155/1.932, allocations: 1.7 MB / 1.226 GB, free: 208 kB / 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02924/1.961, allocations: 7.512 MB / 1.233 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02584/1.987, allocations: 3.755 MB / 1.237 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.398e-05/1.987, allocations: 9.562 kB / 1.237 GB, free: 4.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007922/1.995, allocations: 1.098 MB / 1.238 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01311/2.008, allocations: 1.388 MB / 1.239 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/2.041, allocations: 15.65 MB / 1.254 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/2.044, allocations: 1.769 MB / 1.256 GB, free: 164 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006913/2.051, allocations: 0.7009 MB / 1.257 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/2.055, allocations: 1.151 MB / 1.258 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of SimCode: time 1.783e-06/2.055, allocations: 0 / 1.258 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3332/2.388, allocations: 91.98 MB / 1.348 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004221/2.388, allocations: 271.9 kB / 1.348 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/9.667, allocations: 0 / 1.348 GB, free: 2.711 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)