Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.399/2.399, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 181.3 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.706/2.706, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 92.11 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004954, allocations: 18.7 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2143, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1456/0.36, allocations: 96.55 MB / 0.9932 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04921/0.4092, allocations: 18.18 MB / 1.011 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005255/0.4146, allocations: 91.38 kB / 1.011 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.009826/0.4244, allocations: 1.571 MB / 1.013 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0211/0.4456, allocations: 3.609 MB / 1.016 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01575/0.4614, allocations: 2.549 MB / 1.019 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01331/0.4747, allocations: 4.69 MB / 1.023 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005131/0.4799, allocations: 1.978 MB / 1.025 GB, free: 468 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007404/0.4874, allocations: 2.156 MB / 1.027 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004269/0.4917, allocations: 1.548 MB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.493, allocations: 124 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006695/0.4997, allocations: 1.217 MB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.5015, allocations: 0.6188 MB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002179/0.5037, allocations: 0.6641 MB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008978/0.5128, allocations: 3.83 MB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5128, allocations: 3.938 kB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.467e-06/0.5128, allocations: 4 kB / 1.035 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001665/0.513, allocations: 0 / 1.035 GB, free: 6.258 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01149/0.5245, allocations: 3.186 MB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5246, allocations: 8.031 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0051/0.5297, allocations: 0.644 MB / 1.039 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008743/0.5385, allocations: 2.505 MB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006719/0.5392, allocations: 302.6 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008259/0.5401, allocations: 200 kB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009196/0.5493, allocations: 2.442 MB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.063e-05/0.5494, allocations: 7.938 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.5499, allocations: 95.98 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.55, allocations: 59.92 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009588/0.5596, allocations: 2.075 MB / 1.046 GB, free: 10.45 MB / 0.698 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.6673/1.227, allocations: 10.9 MB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006909/1.234, allocations: 1.212 MB / 1.058 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/1.236, allocations: 1.329 MB / 1.059 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005366/1.241, allocations: 0.9484 MB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 8.917e-06/1.241, allocations: 0 / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=115): time 0.01449/1.256, allocations: 2.17 MB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002194/1.256, allocations: 491.5 kB / 1.063 GB, free: 144.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009317/1.265, allocations: 2.511 MB / 1.065 GB, free: 144 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005435/1.266, allocations: 54.62 kB / 1.065 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.269, allocations: 1.313 MB / 1.067 GB, free: 143.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.27, allocations: 403.7 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/1.27, allocations: 31.16 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.27, allocations: 364.5 kB / 1.067 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/1.275, allocations: 0.6893 MB / 1.068 GB, free: 143.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00577/1.281, allocations: 1.218 MB / 1.069 GB, free: 142.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005401/1.286, allocations: 0.8179 MB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/1.286, allocations: 3.281 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01338/1.3, allocations: 2.099 MB / 1.072 GB, free: 142.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/1.301, allocations: 4.322 MB / 1.076 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.547e-05/1.301, allocations: 10.67 kB / 1.076 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/1.301, allocations: 18.72 kB / 1.076 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/1.307, allocations: 422 kB / 1.077 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.514e-05/1.307, allocations: 27.75 kB / 1.077 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006678/1.314, allocations: 337.9 kB / 1.077 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006587/1.315, allocations: 69.53 kB / 1.077 GB, free: 137.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.315, allocations: 3.938 kB / 1.077 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01126/1.326, allocations: 1.834 MB / 1.079 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-05/1.326, allocations: 13.52 kB / 1.079 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-05/1.326, allocations: 19.44 kB / 1.079 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005409/1.331, allocations: 418.6 kB / 1.079 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.612e-05/1.332, allocations: 33.31 kB / 1.079 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006455/1.338, allocations: 306.3 kB / 1.08 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/1.339, allocations: 72.72 kB / 1.08 GB, free: 136.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003231/1.342, allocations: 0.6826 MB / 1.08 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.343, allocations: 274.2 kB / 1.081 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.356, allocations: 1.962 MB / 1.083 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.237e-05/1.356, allocations: 14.38 kB / 1.083 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.356, allocations: 8.891 kB / 1.083 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008765/1.364, allocations: 1.508 MB / 1.084 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.386, allocations: 4.74 MB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/1.386, allocations: 6.75 kB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004133/1.39, allocations: 280.2 kB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.576e-05/1.39, allocations: 11 kB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003969/1.39, allocations: 37.02 kB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-05/1.391, allocations: 17.66 kB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-05/1.391, allocations: 11.7 kB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.406, allocations: 3.374 MB / 1.092 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002899/1.409, allocations: 0.5771 MB / 1.093 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/1.411, allocations: 27.81 kB / 1.093 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005829/1.417, allocations: 182.3 kB / 1.093 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/1.417, allocations: 117 kB / 1.093 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/1.418, allocations: 59.52 kB / 1.093 GB, free: 129.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006394/1.424, allocations: 1.739 MB / 1.095 GB, free: 128.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.342e-06/1.424, allocations: 0 / 1.095 GB, free: 128.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009358/1.434, allocations: 1.409 MB / 1.096 GB, free: 128.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002762/1.436, allocations: 0.6497 MB / 1.097 GB, free: 127.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01509/1.452, allocations: 2.788 MB / 1.1 GB, free: 126.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/1.452, allocations: 0 / 1.1 GB, free: 126.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005061/1.457, allocations: 0.8587 MB / 1.101 GB, free: 125.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01511/1.472, allocations: 1.298 MB / 1.102 GB, free: 124.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.49, allocations: 5.594 MB / 1.107 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.492, allocations: 1.815 MB / 1.109 GB, free: 116.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005286/1.497, allocations: 0.6856 MB / 1.11 GB, free: 116.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.499, allocations: 207.3 kB / 1.11 GB, free: 116 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/1.499, allocations: 0 / 1.11 GB, free: 116 MB / 0.698 GB Notification: Performance of Templates: time 0.128/1.627, allocations: 50.56 MB / 1.159 GB, free: 65.82 MB / 0.698 GB