Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.518/2.518, allocations: 287.9 MB / 302.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.00145, allocations: 190.9 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001792, allocations: 94.17 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1523, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.7423/0.8946, allocations: 96.52 MB / 1.073 GB, free: 37.88 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03141/0.9261, allocations: 18.22 MB / 1.091 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004336/0.9304, allocations: 90.56 kB / 1.091 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00602/0.9365, allocations: 1.566 MB / 1.092 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01427/0.9508, allocations: 3.623 MB / 1.096 GB, free: 37.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.962, allocations: 2.728 MB / 1.099 GB, free: 37.58 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.9723, allocations: 4.698 MB / 1.103 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004473/0.9769, allocations: 1.999 MB / 1.105 GB, free: 37.31 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006283/0.9832, allocations: 2.176 MB / 1.107 GB, free: 37 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/0.9871, allocations: 1.552 MB / 1.109 GB, free: 36.64 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009162/0.9881, allocations: 122.4 kB / 1.109 GB, free: 36.64 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006384/0.9945, allocations: 1.215 MB / 1.11 GB, free: 36.61 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.9961, allocations: 0.6311 MB / 1.111 GB, free: 36.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.9979, allocations: 0.6667 MB / 1.111 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007395/1.005, allocations: 3.877 MB / 1.115 GB, free: 36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.306e-06/1.005, allocations: 0 / 1.115 GB, free: 36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.035e-06/1.005, allocations: 0 / 1.115 GB, free: 36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001191/1.006, allocations: 0 / 1.115 GB, free: 36 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.007925/1.013, allocations: 3.197 MB / 1.118 GB, free: 34.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.014, allocations: 7.562 kB / 1.118 GB, free: 34.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/1.017, allocations: 0.6506 MB / 1.119 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006249/1.024, allocations: 2.514 MB / 1.121 GB, free: 32.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003956/1.024, allocations: 308.7 kB / 1.122 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005257/1.025, allocations: 204.6 kB / 1.122 GB, free: 31.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006888/1.031, allocations: 2.465 MB / 1.124 GB, free: 30.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/1.032, allocations: 9.875 kB / 1.124 GB, free: 30.24 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/1.032, allocations: 91.45 kB / 1.124 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/1.032, allocations: 57.53 kB / 1.124 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00692/1.039, allocations: 2.083 MB / 1.126 GB, free: 29.14 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.01858/1.058, allocations: 10.95 MB / 1.137 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/1.061, allocations: 1.206 MB / 1.138 GB, free: 19.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009183/1.062, allocations: 1.32 MB / 1.14 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002867/1.065, allocations: 0.976 MB / 1.141 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 5.462e-06/1.065, allocations: 5.5 kB / 1.141 GB, free: 17.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=115): time 0.007532/1.073, allocations: 2.169 MB / 1.143 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.073, allocations: 489.9 kB / 1.143 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/1.078, allocations: 2.509 MB / 1.146 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/1.079, allocations: 56.67 kB / 1.146 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/1.08, allocations: 1.327 MB / 1.147 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005928/1.081, allocations: 401.8 kB / 1.147 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.081, allocations: 29.31 kB / 1.147 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.081, allocations: 368.4 kB / 1.148 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/1.083, allocations: 0.6817 MB / 1.148 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/1.086, allocations: 1.222 MB / 1.15 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/1.089, allocations: 0.8157 MB / 1.15 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.089, allocations: 5.219 kB / 1.15 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006785/1.095, allocations: 2.098 MB / 1.152 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008469/1.096, allocations: 4.314 MB / 1.157 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.096, allocations: 13.73 kB / 1.157 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/1.096, allocations: 22.36 kB / 1.157 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/1.099, allocations: 420 kB / 1.157 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.611e-05/1.099, allocations: 24.8 kB / 1.157 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.103, allocations: 338 kB / 1.157 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/1.103, allocations: 69.17 kB / 1.157 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.103, allocations: 6.25 kB / 1.157 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006038/1.109, allocations: 1.837 MB / 1.159 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.109, allocations: 11.34 kB / 1.159 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.109, allocations: 18.03 kB / 1.159 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.112, allocations: 422.7 kB / 1.16 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/1.112, allocations: 25.83 kB / 1.16 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/1.115, allocations: 305.3 kB / 1.16 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/1.115, allocations: 71.58 kB / 1.16 GB, free: 3.305 MB / 0.6823 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.001826/1.117, allocations: 0.6915 MB / 1.161 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/1.118, allocations: 274.8 kB / 1.161 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005246/1.123, allocations: 1.96 MB / 1.163 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/1.123, allocations: 16.62 kB / 1.163 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.123, allocations: 3.125 kB / 1.163 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003988/1.127, allocations: 1.508 MB / 1.164 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/1.14, allocations: 4.761 MB / 1.169 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/1.14, allocations: 8.75 kB / 1.169 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.142, allocations: 279.6 kB / 1.169 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.272e-05/1.142, allocations: 12 kB / 1.169 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/1.142, allocations: 43.97 kB / 1.169 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.29e-05/1.142, allocations: 19.89 kB / 1.169 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.003e-06/1.142, allocations: 4 kB / 1.169 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008657/1.151, allocations: 3.379 MB / 1.173 GB, free: 7.484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.153, allocations: 0.5908 MB / 1.173 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008434/1.154, allocations: 35.95 kB / 1.173 GB, free: 6.836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.157, allocations: 171.7 kB / 1.174 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/1.157, allocations: 124.8 kB / 1.174 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.158, allocations: 59.95 kB / 1.174 GB, free: 6.488 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00423/1.162, allocations: 1.743 MB / 1.175 GB, free: 4.746 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.005e-06/1.162, allocations: 0 / 1.175 GB, free: 4.746 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006344/1.168, allocations: 1.411 MB / 1.177 GB, free: 3.332 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.001846/1.17, allocations: 0.6598 MB / 1.177 GB, free: 2.727 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008593/1.179, allocations: 2.781 MB / 1.18 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/1.179, allocations: 8.375 kB / 1.18 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/1.182, allocations: 0.8509 MB / 1.181 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00768/1.189, allocations: 1.305 MB / 1.182 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.202, allocations: 5.588 MB / 1.188 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/1.204, allocations: 1.815 MB / 1.189 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004872/1.209, allocations: 0.6911 MB / 1.19 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000961/1.21, allocations: 207.4 kB / 1.19 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of SimCode: time 2.116e-06/1.21, allocations: 0 / 1.19 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of Templates: time 0.1221/1.332, allocations: 50.96 MB / 1.24 GB, free: 2.922 MB / 0.7605 GB