Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001186/0.001187, allocations: 181.1 kB / 371.9 MB, free: 10.27 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.703/1.703, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.000834/0.0008339, allocations: 101.5 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004537, allocations: 16.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2486, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.6119/0.8606, allocations: 109.3 MB / 1.086 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03404/0.8947, allocations: 21.22 MB / 1.107 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006265/0.901, allocations: 109.8 kB / 1.107 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006457/0.9074, allocations: 1.46 MB / 1.108 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01792/0.9254, allocations: 4.078 MB / 1.112 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01256/0.938, allocations: 3.146 MB / 1.115 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01282/0.9508, allocations: 5.068 MB / 1.12 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004753/0.9556, allocations: 2.268 MB / 1.123 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007806/0.9634, allocations: 2.428 MB / 1.125 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.968, allocations: 1.557 MB / 1.127 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009265/0.9689, allocations: 129.9 kB / 1.127 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007587/0.9765, allocations: 1.75 MB / 1.128 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.9778, allocations: 0.5667 MB / 1.129 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.98, allocations: 0.7265 MB / 1.13 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008254/0.9882, allocations: 4.56 MB / 1.134 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9883, allocations: 4 kB / 1.134 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9883, allocations: 0 / 1.134 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002478/0.9885, allocations: 1.156 kB / 1.134 GB, free: 20.81 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.008977/0.9975, allocations: 3.351 MB / 1.137 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.9976, allocations: 8.875 kB / 1.137 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/1.008, allocations: 1.363 MB / 1.139 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006431/1.015, allocations: 2.687 MB / 1.141 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004234/1.015, allocations: 252.5 kB / 1.142 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009272/1.016, allocations: 242.6 kB / 1.142 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008357/1.024, allocations: 3.133 MB / 1.145 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-05/1.024, allocations: 7.156 kB / 1.145 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/1.025, allocations: 102.9 kB / 1.145 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-05/1.025, allocations: 64.45 kB / 1.145 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008985/1.034, allocations: 2.778 MB / 1.148 GB, free: 11.91 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.02035/1.054, allocations: 13.37 MB / 1.161 GB, free: 496 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/1.058, allocations: 1.427 MB / 1.162 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/1.06, allocations: 1.778 MB / 1.164 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00346/1.063, allocations: 1.164 MB / 1.165 GB, free: 12.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 3.497e-06/1.063, allocations: 1.641 kB / 1.165 GB, free: 12.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.02101/1.084, allocations: 4.247 MB / 1.169 GB, free: 10.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002554/1.085, allocations: 0.5721 MB / 1.17 GB, free: 10.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/1.089, allocations: 2.579 MB / 1.172 GB, free: 8.562 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004237/1.09, allocations: 69.62 kB / 1.172 GB, free: 8.488 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/1.091, allocations: 1.34 MB / 1.174 GB, free: 7.133 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/1.091, allocations: 445.7 kB / 1.174 GB, free: 6.691 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.091, allocations: 32 kB / 1.174 GB, free: 6.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.092, allocations: 369.9 kB / 1.174 GB, free: 6.293 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/1.095, allocations: 0.9642 MB / 1.175 GB, free: 5.328 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/1.099, allocations: 1.54 MB / 1.177 GB, free: 3.555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/1.103, allocations: 1.105 MB / 1.178 GB, free: 2.445 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.103, allocations: 4 kB / 1.178 GB, free: 2.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.0129/1.116, allocations: 3.117 MB / 1.181 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002402/1.118, allocations: 5.025 MB / 1.186 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.118, allocations: 12 kB / 1.186 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/1.121, allocations: 0.7146 MB / 1.187 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/1.124, allocations: 0.5109 MB / 1.187 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.127, allocations: 1.802 MB / 1.189 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.132, allocations: 0.5178 MB / 1.189 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004605/1.133, allocations: 103.9 kB / 1.19 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.133, allocations: 4 kB / 1.19 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01154/1.144, allocations: 2.841 MB / 1.192 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/1.144, allocations: 12 kB / 1.192 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/1.147, allocations: 0.7194 MB / 1.193 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/1.15, allocations: 0.5031 MB / 1.194 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/1.152, allocations: 1.794 MB / 1.195 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/1.157, allocations: 473.7 kB / 1.196 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/1.157, allocations: 103.9 kB / 1.196 GB, free: 15.64 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001953/1.159, allocations: 0.692 MB / 1.196 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.16, allocations: 272.8 kB / 1.197 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/1.171, allocations: 2.6 MB / 1.199 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/1.172, allocations: 12 kB / 1.199 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.172, allocations: 4 kB / 1.199 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009962/1.182, allocations: 2.22 MB / 1.201 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/1.2, allocations: 6.548 MB / 1.208 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/1.2, allocations: 12.12 kB / 1.208 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/1.202, allocations: 299.5 kB / 1.208 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/1.204, allocations: 0.7087 MB / 1.209 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/1.205, allocations: 55.94 kB / 1.209 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/1.207, allocations: 1.793 MB / 1.211 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/1.207, allocations: 11.94 kB / 1.211 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.219, allocations: 4.283 MB / 1.215 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/1.221, allocations: 0.6846 MB / 1.216 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.222, allocations: 39.98 kB / 1.216 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003761/1.226, allocations: 275.5 kB / 1.216 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/1.226, allocations: 112.7 kB / 1.216 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/1.226, allocations: 75.92 kB / 1.216 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003725/1.23, allocations: 1.809 MB / 1.218 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.603e-06/1.23, allocations: 0 / 1.218 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006952/1.237, allocations: 1.692 MB / 1.219 GB, free: 6.711 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.002301/1.239, allocations: 0.8264 MB / 1.22 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.252, allocations: 3.598 MB / 1.224 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/1.252, allocations: 448 / 1.224 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003729/1.256, allocations: 1.054 MB / 1.225 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00764/1.264, allocations: 1.374 MB / 1.226 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.278, allocations: 6.09 MB / 1.232 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/1.28, allocations: 1.773 MB / 1.234 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004441/1.285, allocations: 0.6972 MB / 1.234 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009351/1.286, allocations: 231.3 kB / 1.235 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of SimCode: time 9.21e-07/1.286, allocations: 0 / 1.235 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of Templates: time 0.112/1.398, allocations: 66.17 MB / 1.299 GB, free: 5.316 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)