Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004052/0.004058, allocations: 358.2 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.714/1.714, allocations: 165.8 MB / 183.1 MB, free: 5.441 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.301/4.301, allocations: 410.8 MB / 0.6001 GB, free: 15.13 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 196.6 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000693/0.000693, allocations: 20 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4206, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1952/0.6159, allocations: 120.7 MB / 0.9266 GB, free: 3.762 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4887/1.105, allocations: 22.56 MB / 0.9487 GB, free: 38.07 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005843/1.111, allocations: 118.9 kB / 0.9488 GB, free: 38.07 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006422/1.117, allocations: 1.344 MB / 0.9501 GB, free: 38.07 MB / 474.7 MB [/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.01851/1.136, allocations: 4.26 MB / 0.9542 GB, free: 38.01 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0148/1.15, allocations: 3.13 MB / 0.9573 GB, free: 37.92 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01625/1.167, allocations: 9.87 MB / 0.9669 GB, free: 36.59 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005488/1.172, allocations: 2.255 MB / 0.9691 GB, free: 36 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007525/1.18, allocations: 2.587 MB / 0.9717 GB, free: 35.02 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005454/1.185, allocations: 2.174 MB / 0.9738 GB, free: 34.16 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/1.187, allocations: 135 kB / 0.9739 GB, free: 34.16 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008005/1.195, allocations: 1.59 MB / 0.9755 GB, free: 33.78 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/1.196, allocations: 0.5965 MB / 0.976 GB, free: 33.5 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002014/1.198, allocations: 0.7295 MB / 0.9768 GB, free: 33.37 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008841/1.207, allocations: 4.612 MB / 0.9813 GB, free: 30.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.046e-06/1.207, allocations: 8.547 kB / 0.9813 GB, free: 30.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.707e-06/1.207, allocations: 0 / 0.9813 GB, free: 30.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001664/1.208, allocations: 3.938 kB / 0.9813 GB, free: 30.92 MB / 474.7 MB 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.01011/1.218, allocations: 3.354 MB / 0.9846 GB, free: 28.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.218, allocations: 10.77 kB / 0.9846 GB, free: 28.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02144/1.239, allocations: 1.463 MB / 0.986 GB, free: 27.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00823/1.247, allocations: 2.843 MB / 0.9888 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/1.248, allocations: 256.7 kB / 0.989 GB, free: 25.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009129/1.249, allocations: 235.1 kB / 0.9892 GB, free: 25.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/1.263, allocations: 3.216 MB / 0.9924 GB, free: 23.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.78e-05/1.263, allocations: 11.55 kB / 0.9924 GB, free: 23.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004868/1.263, allocations: 100.7 kB / 0.9925 GB, free: 23.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/1.264, allocations: 75.67 kB / 0.9926 GB, free: 23.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/1.281, allocations: 2.887 MB / 0.9954 GB, free: 21.17 MB / 474.7 MB 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.02974/1.311, allocations: 13.46 MB / 1.009 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007725/1.318, allocations: 1.518 MB / 1.01 GB, free: 6.891 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006066/1.324, allocations: 0.9615 MB / 1.011 GB, free: 5.926 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/1.327, allocations: 1.784 MB / 1.013 GB, free: 3.762 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009701/1.337, allocations: 1.24 MB / 1.014 GB, free: 2.457 MB / 474.7 MB Notification: Performance of pre-optimization done (n=130): time 1.104e-05/1.337, allocations: 4 kB / 1.014 GB, free: 2.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=130): time 0.07971/1.416, allocations: 5.984 MB / 1.02 GB, free: 12.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002946/1.417, allocations: 0.5805 MB / 1.02 GB, free: 11.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006947/1.424, allocations: 2.481 MB / 1.023 GB, free: 9.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005671/1.424, allocations: 61.7 kB / 1.023 GB, free: 9.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003038/1.427, allocations: 1.354 MB / 1.024 GB, free: 7.797 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.429, allocations: 448.6 kB / 1.025 GB, free: 7.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/1.429, allocations: 40 kB / 1.025 GB, free: 7.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002579/1.429, allocations: 376.5 kB / 1.025 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008069/1.437, allocations: 1.023 MB / 1.026 GB, free: 5.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008857/1.446, allocations: 1.608 MB / 1.028 GB, free: 4.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008257/1.454, allocations: 1.153 MB / 1.029 GB, free: 2.938 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/1.455, allocations: 4 kB / 1.029 GB, free: 2.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04264/1.497, allocations: 4.141 MB / 1.033 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004692/1.498, allocations: 479.6 kB / 1.033 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.498, allocations: 16 kB / 1.033 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005861/1.504, allocations: 0.9613 MB / 1.034 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005667/1.509, allocations: 0.4953 MB / 1.035 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/1.515, allocations: 1.988 MB / 1.037 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009419/1.525, allocations: 0.5365 MB / 1.037 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006327/1.525, allocations: 108 kB / 1.037 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.525, allocations: 4 kB / 1.037 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04642/1.572, allocations: 3.871 MB / 1.041 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/1.572, allocations: 12 kB / 1.041 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005703/1.577, allocations: 0.9595 MB / 1.042 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005546/1.583, allocations: 0.4953 MB / 1.042 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/1.589, allocations: 1.982 MB / 1.044 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008266/1.597, allocations: 481.8 kB / 1.045 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/1.598, allocations: 107.9 kB / 1.045 GB, free: 2.016 MB / 0.4948 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.0021/1.6, allocations: 0.6946 MB / 1.046 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.601, allocations: 275.7 kB / 1.046 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/1.622, allocations: 2.581 MB / 1.048 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02035/1.643, allocations: 2.185 MB / 1.05 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/1.643, allocations: 4 kB / 1.05 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/1.645, allocations: 0.6573 MB / 1.051 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007252/1.646, allocations: 28 kB / 1.051 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006382/1.653, allocations: 299.5 kB / 1.051 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/1.653, allocations: 104.7 kB / 1.052 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02495/1.678, allocations: 3.397 MB / 1.055 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02022/1.698, allocations: 3.838 MB / 1.059 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006124/1.704, allocations: 0.8861 MB / 1.059 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004809/1.709, allocations: 1.715 MB / 1.061 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of Backend: time 5.81e-07/1.709, allocations: 0 / 1.061 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02337/1.732, allocations: 3.905 MB / 1.065 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of SimCode: time 0.02212/1.755, allocations: 7.145 MB / 1.072 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.2181/1.973, allocations: 83.64 MB / 1.154 GB, free: 3.395 MB / 0.6042 GB