Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.918/4.918, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0026/0.0026, allocations: 354.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.292/4.292, allocations: 410.7 MB / 1.113 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001856/0.001856, allocations: 188.9 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004676, allocations: 19.98 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6885, allocations: 115.3 MB / 1.461 GB, free: 284.2 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1406/0.8292, allocations: 120.8 MB / 1.579 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0387/0.8679, allocations: 22.59 MB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00498/0.873, allocations: 115.2 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006026/0.879, allocations: 1.351 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.01619/0.8953, allocations: 4.249 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.908, allocations: 3.131 MB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01363/0.9216, allocations: 9.867 MB / 1.62 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004687/0.9264, allocations: 2.266 MB / 1.622 GB, free: 120 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.9332, allocations: 2.578 MB / 1.624 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004719/0.9379, allocations: 2.178 MB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.939, allocations: 136 kB / 1.627 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006787/0.9458, allocations: 1.598 MB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.9472, allocations: 0.5872 MB / 1.629 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.9489, allocations: 0.7305 MB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007869/0.9568, allocations: 4.613 MB / 1.634 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9568, allocations: 0 / 1.634 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.454e-06/0.9568, allocations: 3.938 kB / 1.634 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001605/0.957, allocations: 0 / 1.634 GB, free: 107.6 MB / 0.8542 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.009126/0.9661, allocations: 3.359 MB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.228e-05/0.9662, allocations: 11.62 kB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02126/0.9875, allocations: 1.459 MB / 1.639 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006804/0.9944, allocations: 2.844 MB / 1.641 GB, free: 99.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.9947, allocations: 251.9 kB / 1.642 GB, free: 99.46 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000578/0.9953, allocations: 236 kB / 1.642 GB, free: 99.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/1.008, allocations: 3.224 MB / 1.645 GB, free: 95.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.04e-05/1.008, allocations: 7.938 kB / 1.645 GB, free: 95.81 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/1.009, allocations: 104 kB / 1.645 GB, free: 95.71 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.892e-05/1.009, allocations: 75.92 kB / 1.645 GB, free: 95.64 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/1.026, allocations: 2.878 MB / 1.648 GB, free: 92.74 MB / 0.8542 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.02911/1.055, allocations: 13.47 MB / 1.661 GB, free: 78.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00771/1.063, allocations: 1.518 MB / 1.663 GB, free: 77.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005961/1.069, allocations: 0.9533 MB / 1.664 GB, free: 76.21 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002171/1.071, allocations: 1.793 MB / 1.665 GB, free: 74.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006782/1.078, allocations: 1.232 MB / 1.667 GB, free: 72.74 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=130): time 5.771e-06/1.078, allocations: 4 kB / 1.667 GB, free: 72.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=130): time 0.07543/1.153, allocations: 5.986 MB / 1.672 GB, free: 66.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.153, allocations: 0.5805 MB / 1.673 GB, free: 65.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00565/1.159, allocations: 2.481 MB / 1.675 GB, free: 63.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004765/1.16, allocations: 61.7 kB / 1.675 GB, free: 63.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/1.161, allocations: 1.344 MB / 1.677 GB, free: 62.06 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/1.162, allocations: 449.6 kB / 1.677 GB, free: 61.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.162, allocations: 36 kB / 1.677 GB, free: 61.58 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.162, allocations: 381.8 kB / 1.678 GB, free: 61.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007208/1.169, allocations: 1.019 MB / 1.679 GB, free: 60.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007721/1.177, allocations: 1.614 MB / 1.68 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007427/1.185, allocations: 1.159 MB / 1.681 GB, free: 57.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.185, allocations: 8 kB / 1.681 GB, free: 57.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04068/1.225, allocations: 4.131 MB / 1.685 GB, free: 53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/1.226, allocations: 493.2 kB / 1.686 GB, free: 52.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/1.226, allocations: 12 kB / 1.686 GB, free: 52.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.231, allocations: 0.9579 MB / 1.687 GB, free: 51.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/1.236, allocations: 0.4953 MB / 1.687 GB, free: 50.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/1.241, allocations: 1.987 MB / 1.689 GB, free: 48.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008966/1.25, allocations: 0.5403 MB / 1.69 GB, free: 48.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005631/1.251, allocations: 111.8 kB / 1.69 GB, free: 48.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.251, allocations: 7.938 kB / 1.69 GB, free: 48.19 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03948/1.29, allocations: 3.855 MB / 1.694 GB, free: 44.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/1.291, allocations: 12 kB / 1.694 GB, free: 44.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/1.296, allocations: 0.9565 MB / 1.695 GB, free: 43.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005229/1.301, allocations: 0.4914 MB / 1.695 GB, free: 42.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005/1.306, allocations: 1.994 MB / 1.697 GB, free: 40.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007893/1.314, allocations: 481 kB / 1.697 GB, free: 40.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004352/1.314, allocations: 103.9 kB / 1.698 GB, free: 40.25 MB / 0.8542 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.001883/1.316, allocations: 0.707 MB / 1.698 GB, free: 39.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008333/1.317, allocations: 272.8 kB / 1.698 GB, free: 39.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02056/1.338, allocations: 2.571 MB / 1.701 GB, free: 36.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01893/1.357, allocations: 2.189 MB / 1.703 GB, free: 34.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.357, allocations: 0 / 1.703 GB, free: 34.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/1.359, allocations: 0.6573 MB / 1.704 GB, free: 33.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008403/1.36, allocations: 32 kB / 1.704 GB, free: 33.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006539/1.366, allocations: 294.5 kB / 1.704 GB, free: 33.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/1.367, allocations: 92.81 kB / 1.704 GB, free: 33.36 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0241/1.391, allocations: 3.405 MB / 1.707 GB, free: 29.93 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01919/1.41, allocations: 3.842 MB / 1.711 GB, free: 26.07 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005879/1.416, allocations: 0.8899 MB / 1.712 GB, free: 25.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004326/1.42, allocations: 1.711 MB / 1.714 GB, free: 23.46 MB / 0.8542 GB Notification: Performance of Backend: time 1.333e-06/1.42, allocations: 4 kB / 1.714 GB, free: 23.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02172/1.442, allocations: 3.915 MB / 1.718 GB, free: 19.55 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01866/1.461, allocations: 7.133 MB / 1.725 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.7855/2.246, allocations: 83.67 MB / 1.806 GB, free: 209.5 MB / 0.8542 GB