Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.692/2.692, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001416/0.001416, allocations: 174.7 kB / 371.4 MB, free: 10.68 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 1.969/1.969, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001041/0.001041, allocations: 94.75 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.159, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.069/0.228, allocations: 52.39 MB / 1.03 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.2507, allocations: 11.87 MB / 1.042 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.253, allocations: 47.69 kB / 1.042 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.2567, allocations: 0.9331 MB / 1.042 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008048/0.2648, allocations: 2.131 MB / 1.045 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006588/0.2714, allocations: 1.628 MB / 1.046 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005729/0.2772, allocations: 2.53 MB / 1.049 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.2796, allocations: 1.07 MB / 1.05 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.283, allocations: 1.207 MB / 1.051 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.285, allocations: 0.8713 MB / 1.052 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.2855, allocations: 68 kB / 1.052 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.289, allocations: 0.8698 MB / 1.053 GB, free: 412 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008955/0.2899, allocations: 350.7 kB / 1.053 GB, free: 60 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.2908, allocations: 384.8 kB / 1.053 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.2953, allocations: 2.155 MB / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.969e-06/0.2953, allocations: 0 / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.139e-06/0.2953, allocations: 0 / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.614e-05/0.2954, allocations: 0 / 1.055 GB, free: 13.52 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00533/0.3007, allocations: 2.002 MB / 1.057 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3008, allocations: 8.031 kB / 1.057 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.3028, allocations: 361.3 kB / 1.058 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.3065, allocations: 1.403 MB / 1.059 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.3069, allocations: 161.5 kB / 1.059 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.3072, allocations: 108 kB / 1.059 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.3113, allocations: 1.414 MB / 1.061 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.3114, allocations: 7.938 kB / 1.061 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.3116, allocations: 44 kB / 1.061 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/0.3117, allocations: 35.98 kB / 1.061 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.3162, allocations: 1.335 MB / 1.062 GB, free: 6.441 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.5159/0.8321, allocations: 6.398 MB / 1.068 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/0.8351, allocations: 1.151 MB / 1.069 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007254/0.8359, allocations: 1.142 MB / 1.071 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.836, allocations: 50.91 kB / 1.071 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.803e-06/0.836, allocations: 0 / 1.071 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.00538/0.8414, allocations: 1.571 MB / 1.072 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.8414, allocations: 112.7 kB / 1.072 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.8438, allocations: 1.305 MB / 1.074 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.844, allocations: 47.52 kB / 1.074 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/0.8447, allocations: 0.7169 MB / 1.074 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.845, allocations: 267.9 kB / 1.075 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.845, allocations: 19.62 kB / 1.075 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.8451, allocations: 337.6 kB / 1.075 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.8469, allocations: 487 kB / 1.075 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.8487, allocations: 0.7047 MB / 1.076 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.8505, allocations: 0.5263 MB / 1.077 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.8506, allocations: 1.969 kB / 1.077 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004442/0.855, allocations: 1.335 MB / 1.078 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003947/0.8554, allocations: 1.88 MB / 1.08 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.8555, allocations: 9.516 kB / 1.08 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.8555, allocations: 8.875 kB / 1.08 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.8572, allocations: 294 kB / 1.08 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.924e-05/0.8573, allocations: 9.844 kB / 1.08 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.8591, allocations: 223.2 kB / 1.08 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8593, allocations: 41.55 kB / 1.08 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8593, allocations: 3.75 kB / 1.08 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003894/0.8632, allocations: 1.175 MB / 1.081 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.8632, allocations: 4.156 kB / 1.081 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.8633, allocations: 14.64 kB / 1.081 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.8649, allocations: 289.7 kB / 1.082 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.8649, allocations: 13.44 kB / 1.082 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.8666, allocations: 209.4 kB / 1.082 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.8668, allocations: 39.62 kB / 1.082 GB, free: 81.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0009563/0.8677, allocations: 463.1 kB / 1.082 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.8681, allocations: 150.4 kB / 1.083 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.8723, allocations: 1.472 MB / 1.084 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.8724, allocations: 8.656 kB / 1.084 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.8724, allocations: 4.219 kB / 1.084 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003196/0.8756, allocations: 1.098 MB / 1.085 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007816/0.8835, allocations: 2.913 MB / 1.088 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.8835, allocations: 4.891 kB / 1.088 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.8848, allocations: 211.3 kB / 1.088 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.957e-05/0.8848, allocations: 7.5 kB / 1.088 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.824e-05/0.8849, allocations: 28.8 kB / 1.088 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.885, allocations: 12.89 kB / 1.088 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.089e-06/0.885, allocations: 5.031 kB / 1.088 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/0.8907, allocations: 2.297 MB / 1.09 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/0.8917, allocations: 373.9 kB / 1.091 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.892, allocations: 21.05 kB / 1.091 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.8936, allocations: 168.4 kB / 1.091 GB, free: 77.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.8939, allocations: 79.7 kB / 1.091 GB, free: 77.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.894, allocations: 42.75 kB / 1.091 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001757/0.8958, allocations: 0.9328 MB / 1.092 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.14e-07/0.8958, allocations: 0 / 1.092 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002712/0.8986, allocations: 0.804 MB / 1.093 GB, free: 76.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.00102/0.8996, allocations: 460.7 kB / 1.093 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005648/0.9053, allocations: 1.782 MB / 1.095 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.129e-05/0.9053, allocations: 8.453 kB / 1.095 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.9074, allocations: 0.6315 MB / 1.096 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/0.9113, allocations: 0.6655 MB / 1.096 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/0.9169, allocations: 3.232 MB / 1.099 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.9181, allocations: 1.309 MB / 1.101 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002882/0.9209, allocations: 388.7 kB / 1.101 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.9215, allocations: 113.4 kB / 1.101 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.642e-06/0.9215, allocations: 0 / 1.101 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.06045/0.982, allocations: 27.29 MB / 1.128 GB, free: 56.81 MB / 0.6823 GB