Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.563/2.563, allocations: 287.9 MB / 302.9 MB, free: 8.371 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001392, allocations: 186 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 0.6301 GB, free: 10.37 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 84.8 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.000481, allocations: 16.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1527, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.6814/0.8342, allocations: 109.3 MB / 1.086 GB, free: 31.66 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03692/0.8712, allocations: 21.2 MB / 1.106 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005607/0.8768, allocations: 111.6 kB / 1.106 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005704/0.8826, allocations: 1.464 MB / 1.108 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0157/0.8983, allocations: 4.08 MB / 1.112 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.9117, allocations: 3.151 MB / 1.115 GB, free: 28.64 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.9227, allocations: 5.056 MB / 1.12 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004771/0.9275, allocations: 2.271 MB / 1.122 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006568/0.9341, allocations: 2.422 MB / 1.124 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.9378, allocations: 1.576 MB / 1.126 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008475/0.9387, allocations: 130.2 kB / 1.126 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007308/0.946, allocations: 1.733 MB / 1.128 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.9473, allocations: 0.5705 MB / 1.128 GB, free: 24 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.949, allocations: 0.7373 MB / 1.129 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008138/0.9572, allocations: 4.55 MB / 1.133 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9572, allocations: 0 / 1.133 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.112e-06/0.9572, allocations: 0 / 1.133 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000115/0.9574, allocations: 0 / 1.133 GB, free: 21.36 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.007829/0.9652, allocations: 3.358 MB / 1.137 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9653, allocations: 8.938 kB / 1.137 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.977, allocations: 1.366 MB / 1.138 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/0.9835, allocations: 2.686 MB / 1.141 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/0.9839, allocations: 250.2 kB / 1.141 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006579/0.9846, allocations: 239.2 kB / 1.141 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009748/0.9943, allocations: 3.132 MB / 1.144 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.502e-05/0.9944, allocations: 7.125 kB / 1.144 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/0.9948, allocations: 98.91 kB / 1.144 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.9949, allocations: 70.17 kB / 1.144 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/1.006, allocations: 2.769 MB / 1.147 GB, free: 12.46 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.02422/1.031, allocations: 13.39 MB / 1.16 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005014/1.036, allocations: 1.421 MB / 1.162 GB, free: 336 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002267/1.038, allocations: 1.782 MB / 1.163 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004514/1.043, allocations: 1.172 MB / 1.164 GB, free: 13.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.483e-06/1.043, allocations: 0 / 1.164 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.0253/1.068, allocations: 4.243 MB / 1.169 GB, free: 11.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003641/1.068, allocations: 0.5764 MB / 1.169 GB, free: 10.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005683/1.074, allocations: 2.581 MB / 1.172 GB, free: 9.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/1.074, allocations: 66.33 kB / 1.172 GB, free: 9.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/1.076, allocations: 1.338 MB / 1.173 GB, free: 7.852 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007527/1.077, allocations: 445.7 kB / 1.173 GB, free: 7.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/1.077, allocations: 36 kB / 1.173 GB, free: 7.375 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002474/1.077, allocations: 369.9 kB / 1.174 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004677/1.082, allocations: 0.9603 MB / 1.175 GB, free: 6.047 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005508/1.088, allocations: 1.548 MB / 1.176 GB, free: 4.266 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005014/1.093, allocations: 1.098 MB / 1.177 GB, free: 3.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/1.093, allocations: 8 kB / 1.177 GB, free: 3.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01557/1.108, allocations: 3.105 MB / 1.18 GB, free: 24 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002833/1.111, allocations: 5.02 MB / 1.185 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/1.111, allocations: 12 kB / 1.185 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/1.115, allocations: 0.7148 MB / 1.186 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/1.118, allocations: 0.5187 MB / 1.186 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/1.122, allocations: 1.799 MB / 1.188 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006113/1.128, allocations: 0.513 MB / 1.189 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005388/1.129, allocations: 107.9 kB / 1.189 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.129, allocations: 9.406 kB / 1.189 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01485/1.143, allocations: 2.837 MB / 1.192 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/1.144, allocations: 12.12 kB / 1.192 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/1.147, allocations: 0.7296 MB / 1.192 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/1.151, allocations: 0.5031 MB / 1.193 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/1.154, allocations: 1.802 MB / 1.195 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005336/1.159, allocations: 469.7 kB / 1.195 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/1.16, allocations: 99.89 kB / 1.195 GB, free: 372 kB / 0.7136 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.002209/1.162, allocations: 0.7023 MB / 1.196 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/1.163, allocations: 268.8 kB / 1.196 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/1.177, allocations: 2.593 MB / 1.199 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/1.177, allocations: 12 kB / 1.199 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.177, allocations: 4 kB / 1.199 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01268/1.19, allocations: 2.211 MB / 1.201 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02152/1.212, allocations: 6.548 MB / 1.207 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/1.212, allocations: 8 kB / 1.207 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/1.214, allocations: 295.6 kB / 1.207 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/1.217, allocations: 0.7066 MB / 1.208 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/1.218, allocations: 51.94 kB / 1.208 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/1.221, allocations: 1.798 MB / 1.21 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/1.221, allocations: 11.94 kB / 1.21 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.237, allocations: 4.291 MB / 1.214 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/1.239, allocations: 0.6768 MB / 1.215 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008975/1.24, allocations: 39.98 kB / 1.215 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004414/1.244, allocations: 281.5 kB / 1.215 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/1.245, allocations: 112.7 kB / 1.215 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.245, allocations: 75.92 kB / 1.215 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004754/1.25, allocations: 1.813 MB / 1.217 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.64e-07/1.25, allocations: 3.938 kB / 1.217 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007411/1.257, allocations: 1.692 MB / 1.219 GB, free: 7.449 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.002379/1.26, allocations: 0.8284 MB / 1.22 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01663/1.276, allocations: 3.587 MB / 1.223 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.276, allocations: 8.5 kB / 1.223 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004809/1.281, allocations: 1.05 MB / 1.224 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008213/1.289, allocations: 1.383 MB / 1.225 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.306, allocations: 6.101 MB / 1.231 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/1.308, allocations: 1.765 MB / 1.233 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004854/1.313, allocations: 0.6965 MB / 1.234 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008902/1.314, allocations: 235.2 kB / 1.234 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of SimCode: time 1.506e-06/1.314, allocations: 0 / 1.234 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of Templates: time 0.1513/1.465, allocations: 66.14 MB / 1.299 GB, free: 6.051 MB / 0.823 GB