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.667/4.667, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 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.002356/0.002355, allocations: 359.7 kB / 0.644 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 3.893/3.893, allocations: 410.7 MB / 1.112 GB, free: 5.891 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.001794/0.001794, allocations: 186.6 kB / 1.225 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004974, allocations: 15.94 kB / 1.348 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5732, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.117/0.6902, allocations: 120.7 MB / 1.579 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03216/0.7224, allocations: 22.59 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004518/0.727, allocations: 119.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.7315, allocations: 1.351 MB / 1.602 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.01342/0.7449, allocations: 4.258 MB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.7555, allocations: 3.124 MB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01116/0.7667, allocations: 9.877 MB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003694/0.7704, allocations: 2.261 MB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.7758, allocations: 2.574 MB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.7794, allocations: 2.182 MB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.7801, allocations: 132 kB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/0.7852, allocations: 1.598 MB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007599/0.7859, allocations: 0.595 MB / 1.628 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.7871, allocations: 0.7305 MB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006295/0.7934, allocations: 4.609 MB / 1.633 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.562e-06/0.7934, allocations: 0 / 1.633 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.976e-06/0.7934, allocations: 0 / 1.633 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.655e-05/0.7935, allocations: 4 kB / 1.633 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.006638/0.8001, allocations: 3.359 MB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.8002, allocations: 11.62 kB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.8133, allocations: 1.459 MB / 1.638 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006042/0.8194, allocations: 2.836 MB / 1.641 GB, free: 99.74 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.8196, allocations: 255.9 kB / 1.641 GB, free: 99.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.8201, allocations: 236 kB / 1.641 GB, free: 99.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008764/0.8289, allocations: 3.224 MB / 1.644 GB, free: 95.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.665e-05/0.829, allocations: 7.938 kB / 1.644 GB, free: 95.83 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.8293, allocations: 100 kB / 1.645 GB, free: 95.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.709e-05/0.8294, allocations: 71.98 kB / 1.645 GB, free: 95.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.8404, allocations: 2.885 MB / 1.647 GB, free: 92.76 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.02168/0.8621, allocations: 13.47 MB / 1.661 GB, free: 78.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/0.8675, allocations: 1.511 MB / 1.662 GB, free: 77.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.8715, allocations: 0.9649 MB / 1.663 GB, free: 76.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.8731, allocations: 1.778 MB / 1.665 GB, free: 74.04 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004359/0.8775, allocations: 1.244 MB / 1.666 GB, free: 72.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=130): time 6.858e-06/0.8775, allocations: 0 / 1.666 GB, free: 72.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=130): time 0.04298/0.9205, allocations: 5.987 MB / 1.672 GB, free: 66.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.9207, allocations: 0.5844 MB / 1.672 GB, free: 65.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.9253, allocations: 2.473 MB / 1.675 GB, free: 63.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003674/0.9257, allocations: 61.7 kB / 1.675 GB, free: 63.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.9269, allocations: 1.347 MB / 1.676 GB, free: 62.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000534/0.9274, allocations: 453.6 kB / 1.677 GB, free: 61.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.9276, allocations: 40 kB / 1.677 GB, free: 61.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9277, allocations: 381.8 kB / 1.677 GB, free: 61.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00454/0.9323, allocations: 1.015 MB / 1.678 GB, free: 60.17 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/0.9374, allocations: 1.614 MB / 1.68 GB, free: 58.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/0.9421, allocations: 1.159 MB / 1.681 GB, free: 57.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.9422, allocations: 4 kB / 1.681 GB, free: 57.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02396/0.9662, allocations: 4.136 MB / 1.685 GB, free: 52.99 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.9664, allocations: 488.6 kB / 1.685 GB, free: 52.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.9665, allocations: 16 kB / 1.685 GB, free: 52.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/0.9705, allocations: 0.9574 MB / 1.686 GB, free: 51.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/0.9739, allocations: 0.5031 MB / 1.687 GB, free: 50.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/0.9781, allocations: 1.991 MB / 1.689 GB, free: 48.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005543/0.9837, allocations: 0.5247 MB / 1.689 GB, free: 48.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003849/0.9841, allocations: 107.9 kB / 1.689 GB, free: 48.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.9841, allocations: 4 kB / 1.689 GB, free: 48.19 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02702/1.011, allocations: 3.863 MB / 1.693 GB, free: 44.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/1.011, allocations: 12 kB / 1.693 GB, free: 44.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/1.016, allocations: 0.952 MB / 1.694 GB, free: 43.35 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/1.02, allocations: 0.4914 MB / 1.694 GB, free: 42.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/1.024, allocations: 1.987 MB / 1.696 GB, free: 40.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.03, allocations: 492.8 kB / 1.697 GB, free: 40.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000435/1.03, allocations: 115.8 kB / 1.697 GB, free: 40.23 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.001726/1.032, allocations: 0.6992 MB / 1.698 GB, free: 39.53 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006913/1.033, allocations: 264.8 kB / 1.698 GB, free: 39.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.047, allocations: 2.581 MB / 1.7 GB, free: 36.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/1.048, allocations: 19.95 kB / 1.7 GB, free: 36.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.048, allocations: 0 / 1.7 GB, free: 36.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01168/1.059, allocations: 2.181 MB / 1.703 GB, free: 34.42 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02995/1.089, allocations: 7.557 MB / 1.71 GB, free: 26.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/1.089, allocations: 8 kB / 1.71 GB, free: 26.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.091, allocations: 299.8 kB / 1.71 GB, free: 26.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003954/1.095, allocations: 0.937 MB / 1.711 GB, free: 25.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/1.096, allocations: 55.94 kB / 1.711 GB, free: 25.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/1.099, allocations: 1.986 MB / 1.713 GB, free: 23.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.099, allocations: 11.94 kB / 1.713 GB, free: 23.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.113, allocations: 3.707 MB / 1.717 GB, free: 19.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.115, allocations: 0.6729 MB / 1.717 GB, free: 18.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000719/1.116, allocations: 39.98 kB / 1.717 GB, free: 18.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004231/1.12, allocations: 305.8 kB / 1.718 GB, free: 18.47 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/1.12, allocations: 116.7 kB / 1.718 GB, free: 18.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.121, allocations: 71.92 kB / 1.718 GB, free: 18.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003653/1.124, allocations: 1.735 MB / 1.72 GB, free: 16.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.99e-07/1.124, allocations: 0 / 1.72 GB, free: 16.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006033/1.13, allocations: 1.668 MB / 1.721 GB, free: 14.88 MB / 0.8542 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001841/1.132, allocations: 0.7956 MB / 1.722 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01661/1.149, allocations: 3.752 MB / 1.726 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.149, allocations: 4.75 kB / 1.726 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004626/1.154, allocations: 1.106 MB / 1.727 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007903/1.162, allocations: 1.416 MB / 1.728 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.175, allocations: 5.966 MB / 1.734 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5128/1.687, allocations: 1.768 MB / 1.736 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005095/1.693, allocations: 0.6875 MB / 1.736 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007988/1.693, allocations: 233.6 kB / 1.737 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.586e-06/1.693, allocations: 0.9375 kB / 1.737 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.1325/1.826, allocations: 67.28 MB / 1.802 GB, free: 211.8 MB / 0.8542 GB