Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006651/0.006651, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 13.06 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.118/0.4461, allocations: 127.9 MB / 1.199 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03666/0.4827, allocations: 25.03 MB / 1.223 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006039/0.4888, allocations: 119.2 kB / 1.224 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00504/0.4939, allocations: 1.418 MB / 1.225 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01513/0.5091, allocations: 4.161 MB / 1.229 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.5197, allocations: 3.19 MB / 1.232 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01729/0.537, allocations: 11.43 MB / 1.243 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00563/0.5427, allocations: 2.53 MB / 1.246 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008256/0.551, allocations: 2.745 MB / 1.248 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005568/0.5566, allocations: 2.302 MB / 1.251 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000924/0.5576, allocations: 132 kB / 1.251 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.674/1.232, allocations: 2.468 MB / 1.253 GB, free: 52.6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001675/1.233, allocations: 0.614 MB / 1.254 GB, free: 52.6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005756/1.239, allocations: 1.709 MB / 1.256 GB, free: 52.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/1.252, allocations: 6.026 MB / 1.261 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.252, allocations: 0 / 1.261 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.867e-06/1.252, allocations: 0 / 1.261 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001716/1.253, allocations: 5.344 kB / 1.261 GB, free: 52.42 MB / 0.9981 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.007432/1.26, allocations: 3.352 MB / 1.265 GB, free: 50.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/1.26, allocations: 10.16 kB / 1.265 GB, free: 50.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/1.27, allocations: 1.368 MB / 1.266 GB, free: 50.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006545/1.277, allocations: 2.934 MB / 1.269 GB, free: 49.94 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/1.277, allocations: 253.3 kB / 1.269 GB, free: 49.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007155/1.278, allocations: 237.8 kB / 1.269 GB, free: 49.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00914/1.287, allocations: 3.167 MB / 1.272 GB, free: 49.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/1.287, allocations: 5.906 kB / 1.272 GB, free: 49.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004585/1.288, allocations: 98.62 kB / 1.273 GB, free: 49.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/1.288, allocations: 76.31 kB / 1.273 GB, free: 49.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.298, allocations: 2.783 MB / 1.275 GB, free: 49.32 MB / 0.9981 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.02015/1.318, allocations: 13.31 MB / 1.288 GB, free: 43.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/1.323, allocations: 1.427 MB / 1.29 GB, free: 43.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003009/1.326, allocations: 0.9037 MB / 1.291 GB, free: 43.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/1.327, allocations: 1.781 MB / 1.292 GB, free: 41.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003591/1.331, allocations: 1.163 MB / 1.294 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 3.486e-06/1.331, allocations: 3 kB / 1.294 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.02264/1.353, allocations: 4.286 MB / 1.298 GB, free: 40.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/1.354, allocations: 0.5791 MB / 1.298 GB, free: 39.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/1.359, allocations: 2.505 MB / 1.301 GB, free: 39.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006121/1.36, allocations: 63.73 kB / 1.301 GB, free: 39.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/1.361, allocations: 1.347 MB / 1.302 GB, free: 39.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007455/1.362, allocations: 450 kB / 1.303 GB, free: 38.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/1.362, allocations: 143.6 kB / 1.303 GB, free: 38.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/1.362, allocations: 302.6 kB / 1.303 GB, free: 38.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/1.366, allocations: 0.979 MB / 1.304 GB, free: 38.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004128/1.37, allocations: 1.558 MB / 1.305 GB, free: 37.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/1.377, allocations: 2.225 MB / 1.308 GB, free: 37.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/1.377, allocations: 4.281 kB / 1.308 GB, free: 37.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01201/1.389, allocations: 3.094 MB / 1.311 GB, free: 37.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002484/1.39, allocations: 485.2 kB / 1.311 GB, free: 36.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/1.39, allocations: 9.875 kB / 1.311 GB, free: 36.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/1.392, allocations: 0.719 MB / 1.312 GB, free: 36.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/1.395, allocations: 0.5007 MB / 1.312 GB, free: 36.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/1.397, allocations: 1.813 MB / 1.314 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/1.403, allocations: 0.5043 MB / 1.315 GB, free: 35.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/1.403, allocations: 101.6 kB / 1.315 GB, free: 35.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.403, allocations: 5.906 kB / 1.315 GB, free: 35.35 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/1.413, allocations: 2.816 MB / 1.317 GB, free: 35.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/1.413, allocations: 10.25 kB / 1.317 GB, free: 35.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/1.416, allocations: 0.7302 MB / 1.318 GB, free: 35.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/1.418, allocations: 0.4937 MB / 1.319 GB, free: 35.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/1.42, allocations: 1.807 MB / 1.32 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/1.425, allocations: 453.8 kB / 1.321 GB, free: 34.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/1.426, allocations: 103.7 kB / 1.321 GB, free: 34.01 MB / 0.9981 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001883/1.427, allocations: 0.7009 MB / 1.322 GB, free: 33.81 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007509/1.428, allocations: 267.6 kB / 1.322 GB, free: 33.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.439, allocations: 2.6 MB / 1.324 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/1.439, allocations: 14.38 kB / 1.324 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.439, allocations: 2.531 kB / 1.324 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009844/1.449, allocations: 2.223 MB / 1.327 GB, free: 33.19 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.465, allocations: 6.505 MB / 1.333 GB, free: 31.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.465, allocations: 13.19 kB / 1.333 GB, free: 31.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/1.467, allocations: 301.6 kB / 1.333 GB, free: 31.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/1.469, allocations: 0.7017 MB / 1.334 GB, free: 31.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.47, allocations: 55.72 kB / 1.334 GB, free: 31.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/1.472, allocations: 1.795 MB / 1.336 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.472, allocations: 11.38 kB / 1.336 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.483, allocations: 3.564 MB / 1.339 GB, free: 29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.485, allocations: 0.6615 MB / 1.34 GB, free: 28.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/1.485, allocations: 33.53 kB / 1.34 GB, free: 28.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003219/1.488, allocations: 283.7 kB / 1.34 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/1.489, allocations: 115.9 kB / 1.34 GB, free: 28.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.489, allocations: 73.17 kB / 1.34 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002773/1.492, allocations: 1.768 MB / 1.342 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.492, allocations: 0 / 1.342 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004756/1.496, allocations: 1.671 MB / 1.344 GB, free: 27.78 MB / 0.9981 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,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/1.498, allocations: 0.7984 MB / 1.344 GB, free: 27.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.509, allocations: 3.618 MB / 1.348 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.509, allocations: 4 kB / 1.348 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003446/1.513, allocations: 1.053 MB / 1.349 GB, free: 26.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.523, allocations: 1.427 MB / 1.35 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.535, allocations: 6.424 MB / 1.357 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009576/1.536, allocations: 1.713 MB / 1.358 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00368/1.54, allocations: 0.6885 MB / 1.359 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/1.541, allocations: 244 kB / 1.359 GB, free: 20.07 MB / 0.9981 GB Notification: Performance of SimCode: time 1.843e-06/1.541, allocations: 0 / 1.359 GB, free: 20.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.114/1.655, allocations: 67.98 MB / 1.426 GB, free: 3.535 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)