Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.641/1.641, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.0009093/0.0009093, allocations: 178.5 kB / 371.8 MB, free: 10.82 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.315/1.315, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007681/0.0007681, allocations: 101.8 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 11.41 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.183, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.4768/0.6599, allocations: 120.8 MB / 1.097 GB, free: 33.81 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02831/0.6883, allocations: 23.25 MB / 1.12 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.6932, allocations: 120.7 kB / 1.12 GB, free: 27.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004167/0.6974, allocations: 1.19 MB / 1.121 GB, free: 27.04 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.01211/0.7095, allocations: 3.499 MB / 1.125 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008508/0.7181, allocations: 2.48 MB / 1.127 GB, free: 24.67 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01319/0.7313, allocations: 9.916 MB / 1.137 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004198/0.7355, allocations: 2.497 MB / 1.139 GB, free: 19.36 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006394/0.7419, allocations: 2.667 MB / 1.142 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00521/0.7472, allocations: 2.172 MB / 1.144 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008251/0.748, allocations: 131.7 kB / 1.144 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007771/0.7558, allocations: 1.942 MB / 1.146 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007437/0.7566, allocations: 0.5928 MB / 1.146 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.7582, allocations: 0.7307 MB / 1.147 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006769/0.765, allocations: 4.746 MB / 1.152 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.765, allocations: 4 kB / 1.152 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.765, allocations: 2.031 kB / 1.152 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.367e-05/0.7651, allocations: 0 / 1.152 GB, free: 11.57 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.006809/0.7719, allocations: 3.367 MB / 1.155 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.7719, allocations: 7.969 kB / 1.155 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.7823, allocations: 1.459 MB / 1.157 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.7868, allocations: 2.924 MB / 1.159 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.787, allocations: 257.4 kB / 1.16 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/0.7874, allocations: 234.2 kB / 1.16 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006857/0.7942, allocations: 3.214 MB / 1.163 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.7943, allocations: 11.44 kB / 1.163 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.7945, allocations: 116.3 kB / 1.163 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.7946, allocations: 64.3 kB / 1.163 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008317/0.8029, allocations: 2.884 MB / 1.166 GB, free: 2.316 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.01877/0.8217, allocations: 13.47 MB / 1.179 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/0.826, allocations: 1.515 MB / 1.181 GB, free: 4.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/0.8291, allocations: 0.9644 MB / 1.182 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.8307, allocations: 1.778 MB / 1.183 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003731/0.8344, allocations: 1.251 MB / 1.185 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=130): time 3.907e-06/0.8345, allocations: 0 / 1.185 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=130): time 0.03919/0.8737, allocations: 6.012 MB / 1.19 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/0.8739, allocations: 0.5805 MB / 1.191 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.8779, allocations: 2.481 MB / 1.193 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.8783, allocations: 65.69 kB / 1.193 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.8794, allocations: 1.342 MB / 1.195 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/0.8799, allocations: 449.5 kB / 1.195 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.88, allocations: 39.94 kB / 1.195 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8802, allocations: 377.8 kB / 1.196 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/0.8839, allocations: 1.019 MB / 1.197 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004127/0.8881, allocations: 1.614 MB / 1.198 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/0.8951, allocations: 2.311 MB / 1.2 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.8952, allocations: 4 kB / 1.2 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02115/0.9163, allocations: 4.147 MB / 1.204 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.9167, allocations: 491.6 kB / 1.205 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.9167, allocations: 12 kB / 1.205 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/0.92, allocations: 0.9528 MB / 1.206 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.923, allocations: 0.4992 MB / 1.206 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.9262, allocations: 1.986 MB / 1.208 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/0.9314, allocations: 0.5443 MB / 1.209 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.9317, allocations: 103.9 kB / 1.209 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.9317, allocations: 4 kB / 1.209 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02001/0.9517, allocations: 3.859 MB / 1.213 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.9518, allocations: 12 kB / 1.213 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/0.955, allocations: 0.947 MB / 1.214 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/0.9578, allocations: 0.4994 MB / 1.214 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.9609, allocations: 1.996 MB / 1.216 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004636/0.9656, allocations: 481.8 kB / 1.217 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.9658, allocations: 103.9 kB / 1.217 GB, free: 13.97 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.001423/0.9672, allocations: 0.6958 MB / 1.217 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.9677, allocations: 276.7 kB / 1.218 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.9785, allocations: 2.57 MB / 1.22 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009817/0.9884, allocations: 2.181 MB / 1.222 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.9884, allocations: 7.984 kB / 1.222 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/0.9903, allocations: 0.6534 MB / 1.223 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.9907, allocations: 35.98 kB / 1.223 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/0.9939, allocations: 294.6 kB / 1.223 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.9941, allocations: 100.7 kB / 1.223 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01263/1.007, allocations: 3.409 MB / 1.227 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0104/1.017, allocations: 3.835 MB / 1.23 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003054/1.02, allocations: 0.8942 MB / 1.231 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002979/1.023, allocations: 1.711 MB / 1.233 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of Backend: time 5.01e-07/1.023, allocations: 0 / 1.233 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01365/1.037, allocations: 3.996 MB / 1.237 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01289/1.05, allocations: 7.111 MB / 1.244 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of Templates: time 0.1308/1.181, allocations: 85.69 MB / 1.327 GB, free: 12.8 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)