Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.617/1.617, allocations: 287.4 MB / 303.2 MB, free: 8.32 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.001007/0.001007, allocations: 170.1 kB / 371.8 MB, free: 10.84 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.364/1.364, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.000734/0.000734, allocations: 98.02 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 11.47 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1973, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.4742/0.6716, allocations: 120.7 MB / 1.097 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02969/0.7013, allocations: 23.33 MB / 1.12 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005758/0.7071, allocations: 119.7 kB / 1.12 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005358/0.7125, allocations: 1.195 MB / 1.121 GB, free: 27.06 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01292/0.7254, allocations: 3.508 MB / 1.125 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008988/0.7344, allocations: 2.472 MB / 1.127 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.7479, allocations: 9.892 MB / 1.137 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/0.7523, allocations: 2.494 MB / 1.139 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006374/0.7587, allocations: 2.652 MB / 1.142 GB, free: 17.93 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004916/0.7637, allocations: 2.167 MB / 1.144 GB, free: 16.67 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.7647, allocations: 129.5 kB / 1.144 GB, free: 16.67 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006676/0.7714, allocations: 1.943 MB / 1.146 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.7722, allocations: 0.5913 MB / 1.146 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.7738, allocations: 0.7306 MB / 1.147 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006879/0.7807, allocations: 4.717 MB / 1.152 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7808, allocations: 0 / 1.152 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.915e-06/0.7808, allocations: 1.188 kB / 1.152 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001616/0.781, allocations: 0 / 1.152 GB, free: 11.59 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.007274/0.7882, allocations: 3.359 MB / 1.155 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.7883, allocations: 10 kB / 1.155 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009143/0.7975, allocations: 1.375 MB / 1.156 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004638/0.8021, allocations: 2.914 MB / 1.159 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.8023, allocations: 244.3 kB / 1.16 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.8027, allocations: 236.4 kB / 1.16 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006702/0.8094, allocations: 3.149 MB / 1.163 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.8095, allocations: 7.188 kB / 1.163 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.8097, allocations: 110.1 kB / 1.163 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/0.8098, allocations: 71.98 kB / 1.163 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007771/0.8175, allocations: 2.768 MB / 1.166 GB, free: 2.473 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.01811/0.8357, allocations: 13.31 MB / 1.179 GB, free: 6.266 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.8396, allocations: 1.414 MB / 1.18 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/0.8424, allocations: 0.901 MB / 1.181 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.8441, allocations: 1.785 MB / 1.183 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003286/0.8474, allocations: 1.169 MB / 1.184 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 3.587e-06/0.8474, allocations: 0 / 1.184 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.01997/0.8674, allocations: 4.271 MB / 1.188 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.8677, allocations: 0.5727 MB / 1.189 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/0.8715, allocations: 2.481 MB / 1.191 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.8718, allocations: 57.7 kB / 1.191 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.8729, allocations: 1.34 MB / 1.192 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/0.8734, allocations: 445.7 kB / 1.193 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.8735, allocations: 36 kB / 1.193 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8736, allocations: 373.9 kB / 1.193 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/0.877, allocations: 0.9641 MB / 1.194 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/0.8808, allocations: 1.548 MB / 1.196 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/0.8871, allocations: 2.207 MB / 1.198 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.8872, allocations: 4 kB / 1.198 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01124/0.8984, allocations: 3.119 MB / 1.201 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.8987, allocations: 484.2 kB / 1.201 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.8988, allocations: 11.94 kB / 1.201 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.9012, allocations: 0.7202 MB / 1.202 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/0.9037, allocations: 0.4992 MB / 1.202 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.9059, allocations: 1.803 MB / 1.204 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/0.9109, allocations: 0.5172 MB / 1.205 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.9112, allocations: 103.9 kB / 1.205 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.9112, allocations: 4 kB / 1.205 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/0.9219, allocations: 2.829 MB / 1.208 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.922, allocations: 8 kB / 1.208 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/0.9243, allocations: 0.7303 MB / 1.208 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.9272, allocations: 0.4914 MB / 1.209 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.9296, allocations: 1.798 MB / 1.211 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004581/0.9342, allocations: 463.9 kB / 1.211 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.9345, allocations: 107.9 kB / 1.211 GB, free: 3.668 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.001408/0.9359, allocations: 0.6919 MB / 1.212 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/0.9364, allocations: 268.7 kB / 1.212 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.9471, allocations: 2.599 MB / 1.215 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009259/0.9564, allocations: 2.215 MB / 1.217 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.9564, allocations: 8 kB / 1.217 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/0.9581, allocations: 0.6494 MB / 1.217 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/0.9585, allocations: 27.98 kB / 1.217 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/0.9613, allocations: 278.6 kB / 1.218 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.9615, allocations: 96.78 kB / 1.218 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009857/0.9714, allocations: 3.103 MB / 1.221 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009991/0.9814, allocations: 3.657 MB / 1.224 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002798/0.9842, allocations: 0.8434 MB / 1.225 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00324/0.9875, allocations: 1.707 MB / 1.227 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of Backend: time 5.21e-07/0.9875, allocations: 0 / 1.227 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01286/1, allocations: 3.882 MB / 1.231 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01207/1.013, allocations: 7.061 MB / 1.238 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of Templates: time 0.1241/1.137, allocations: 83.44 MB / 1.319 GB, free: 5.488 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)