Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.4 MB / 304.3 MB, free: 8.004 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.0009443/0.0009443, allocations: 172.5 kB / 372.9 MB, free: 10.17 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.387/1.387, allocations: 205.4 MB / 0.6316 GB, free: 9.953 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.0007282/0.0007282, allocations: 104 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 12.62 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.4966/0.678, allocations: 120.8 MB / 1.099 GB, free: 34.49 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.7083, allocations: 23.26 MB / 1.121 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004498/0.7129, allocations: 118.9 kB / 1.122 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.7166, allocations: 1.196 MB / 1.123 GB, free: 27.21 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.01084/0.7275, allocations: 3.688 MB / 1.126 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008386/0.7359, allocations: 2.529 MB / 1.129 GB, free: 24.32 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01311/0.749, allocations: 9.914 MB / 1.138 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004837/0.7539, allocations: 2.499 MB / 1.141 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006803/0.7607, allocations: 2.727 MB / 1.144 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005111/0.7658, allocations: 2.176 MB / 1.146 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.7671, allocations: 131.7 kB / 1.146 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00865/0.7758, allocations: 2.346 MB / 1.148 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.7774, allocations: 0.5923 MB / 1.149 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005111/0.7825, allocations: 1.645 MB / 1.15 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.7912, allocations: 4.843 MB / 1.155 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7912, allocations: 4 kB / 1.155 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7912, allocations: 3.625 kB / 1.155 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000188/0.7914, allocations: 0 / 1.155 GB, free: 9.34 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.007132/0.7986, allocations: 3.377 MB / 1.158 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.7986, allocations: 8.625 kB / 1.158 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.8091, allocations: 1.455 MB / 1.16 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.8144, allocations: 2.921 MB / 1.163 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.8147, allocations: 259.2 kB / 1.163 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.8152, allocations: 240.8 kB / 1.163 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.8224, allocations: 3.216 MB / 1.166 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.8225, allocations: 10.62 kB / 1.166 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.8228, allocations: 107.4 kB / 1.166 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/0.8228, allocations: 69.48 kB / 1.166 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009079/0.8319, allocations: 2.888 MB / 1.169 GB, free: 64 kB / 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.02154/0.8535, allocations: 13.47 MB / 1.182 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004433/0.858, allocations: 1.509 MB / 1.184 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.8613, allocations: 0.9683 MB / 1.185 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/0.8631, allocations: 1.782 MB / 1.186 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003743/0.8669, allocations: 1.24 MB / 1.188 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=130): time 3.597e-06/0.8669, allocations: 0 / 1.188 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=130): time 0.04005/0.9069, allocations: 6.019 MB / 1.194 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/0.9072, allocations: 0.5844 MB / 1.194 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/0.9117, allocations: 2.477 MB / 1.197 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000444/0.9122, allocations: 73.62 kB / 1.197 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.9135, allocations: 1.336 MB / 1.198 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007132/0.9142, allocations: 449.5 kB / 1.198 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.9143, allocations: 40 kB / 1.198 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.9145, allocations: 377.8 kB / 1.199 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/0.9186, allocations: 1.023 MB / 1.2 GB, free: 156 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/0.9231, allocations: 1.61 MB / 1.201 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007318/0.9304, allocations: 2.303 MB / 1.204 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.9305, allocations: 4 kB / 1.204 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02181/0.9523, allocations: 4.143 MB / 1.208 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003918/0.9527, allocations: 490.2 kB / 1.208 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.9527, allocations: 15.98 kB / 1.208 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/0.9561, allocations: 0.9558 MB / 1.209 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.959, allocations: 0.4992 MB / 1.21 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.9623, allocations: 1.984 MB / 1.211 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/0.9675, allocations: 0.5411 MB / 1.212 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.9677, allocations: 103.9 kB / 1.212 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.9677, allocations: 4 kB / 1.212 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02052/0.9882, allocations: 3.867 MB / 1.216 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.9883, allocations: 12 kB / 1.216 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003165/0.9915, allocations: 0.9546 MB / 1.217 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.9942, allocations: 0.4992 MB / 1.217 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.9973, allocations: 1.993 MB / 1.219 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.002, allocations: 481.8 kB / 1.22 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.002, allocations: 107.8 kB / 1.22 GB, free: 10.89 MB / 0.7448 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.001535/1.004, allocations: 0.692 MB / 1.221 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/1.004, allocations: 280.6 kB / 1.221 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.016, allocations: 2.569 MB / 1.223 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009916/1.026, allocations: 2.185 MB / 1.225 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.026, allocations: 4 kB / 1.225 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.028, allocations: 0.6573 MB / 1.226 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/1.029, allocations: 32 kB / 1.226 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.032, allocations: 296.3 kB / 1.226 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.032, allocations: 100.7 kB / 1.226 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01238/1.044, allocations: 3.407 MB / 1.23 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01015/1.054, allocations: 3.832 MB / 1.234 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00306/1.058, allocations: 0.8864 MB / 1.234 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002875/1.06, allocations: 1.715 MB / 1.236 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of Backend: time 3.71e-07/1.06, allocations: 0 / 1.236 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01342/1.074, allocations: 4.041 MB / 1.24 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01256/1.086, allocations: 7.119 MB / 1.247 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.1378/1.224, allocations: 86.53 MB / 1.331 GB, free: 8.703 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)