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 4.729/4.729, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002383/0.002382, allocations: 360.7 kB / 0.644 GB, free: 185.7 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.895/3.895, allocations: 410.7 MB / 1.112 GB, free: 6.074 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.001801/0.001801, allocations: 185.2 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004996, allocations: 12 kB / 1.348 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5821, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.08772/0.6699, allocations: 57.75 MB / 1.517 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.6873, allocations: 12.83 MB / 1.53 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.6897, allocations: 51.69 kB / 1.53 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002938/0.6927, allocations: 0.8756 MB / 1.531 GB, free: 213 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735: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:732:36-733: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:734:36-735: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:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007078/0.6998, allocations: 2.207 MB / 1.533 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005838/0.7057, allocations: 1.612 MB / 1.534 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005652/0.7114, allocations: 4.688 MB / 1.539 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.7132, allocations: 1.061 MB / 1.54 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.7157, allocations: 1.291 MB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.7174, allocations: 1.169 MB / 1.542 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.7177, allocations: 76 kB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.7201, allocations: 0.791 MB / 1.543 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003914/0.7205, allocations: 390.5 kB / 1.544 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000502/0.721, allocations: 380.8 kB / 1.544 GB, free: 199.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.7235, allocations: 2.264 MB / 1.546 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.635e-06/0.7236, allocations: 0 / 1.546 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.008e-06/0.7236, allocations: 0 / 1.546 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.872e-05/0.7236, allocations: 0 / 1.546 GB, free: 197.2 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004028/0.7276, allocations: 2.026 MB / 1.548 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.7277, allocations: 11.62 kB / 1.548 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.7293, allocations: 345.5 kB / 1.548 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.7321, allocations: 1.381 MB / 1.55 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.7323, allocations: 157.5 kB / 1.55 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.7325, allocations: 108 kB / 1.55 GB, free: 193 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.7358, allocations: 1.477 MB / 1.551 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.7359, allocations: 7.938 kB / 1.551 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.736, allocations: 44 kB / 1.551 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.7361, allocations: 43.92 kB / 1.552 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.7399, allocations: 1.425 MB / 1.553 GB, free: 189.9 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.008689/0.7486, allocations: 6.66 MB / 1.559 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.7511, allocations: 1.213 MB / 1.561 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.7527, allocations: 0.604 MB / 1.561 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.7534, allocations: 1.145 MB / 1.562 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.7535, allocations: 51.81 kB / 1.562 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 4.26e-06/0.7535, allocations: 0 / 1.562 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.004972/0.7585, allocations: 1.741 MB / 1.564 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.7585, allocations: 111.5 kB / 1.564 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.7606, allocations: 1.373 MB / 1.566 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.7608, allocations: 41.7 kB / 1.566 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/0.7613, allocations: 0.7123 MB / 1.566 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.7616, allocations: 256.2 kB / 1.567 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.7617, allocations: 20 kB / 1.567 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.7618, allocations: 345.9 kB / 1.567 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.7633, allocations: 0.5289 MB / 1.567 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.765, allocations: 0.7659 MB / 1.568 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.7665, allocations: 0.5768 MB / 1.569 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.183e-06/0.7666, allocations: 0 / 1.569 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003841/0.7704, allocations: 1.44 MB / 1.57 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.7705, allocations: 232.8 kB / 1.57 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.7706, allocations: 8 kB / 1.57 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.7706, allocations: 12 kB / 1.57 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.7721, allocations: 295.6 kB / 1.571 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.7722, allocations: 15.88 kB / 1.571 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7739, allocations: 222.9 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.774, allocations: 39.98 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.774, allocations: 4 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003473/0.7775, allocations: 1.276 MB / 1.572 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7776, allocations: 7.938 kB / 1.572 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7776, allocations: 12 kB / 1.572 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.7791, allocations: 296.2 kB / 1.572 GB, free: 169 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.7791, allocations: 8 kB / 1.572 GB, free: 169 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.7807, allocations: 211 kB / 1.573 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.7809, allocations: 39.98 kB / 1.573 GB, free: 168.7 MB / 0.8542 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.0008599/0.7817, allocations: 465.9 kB / 1.573 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.7821, allocations: 154.1 kB / 1.573 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.786, allocations: 1.572 MB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.786, allocations: 8 kB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.786, allocations: 3.984 kB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003009/0.7891, allocations: 1.207 MB / 1.576 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/0.7958, allocations: 3.156 MB / 1.579 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.7959, allocations: 8 kB / 1.579 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.7971, allocations: 216.3 kB / 1.579 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.7971, allocations: 8 kB / 1.579 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.7972, allocations: 27.98 kB / 1.579 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.7972, allocations: 7.938 kB / 1.579 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.059e-06/0.7973, allocations: 8 kB / 1.579 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/0.8029, allocations: 2.201 MB / 1.581 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009309/0.8039, allocations: 394.8 kB / 1.582 GB, free: 159 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/0.8042, allocations: 23.98 kB / 1.582 GB, free: 159 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.8058, allocations: 169.4 kB / 1.582 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.806, allocations: 88.34 kB / 1.582 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.8061, allocations: 43.97 kB / 1.582 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00159/0.8077, allocations: 0.9752 MB / 1.583 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.55e-07/0.8077, allocations: 0 / 1.583 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002317/0.8101, allocations: 0.8069 MB / 1.584 GB, free: 156.9 MB / 0.8542 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.0008977/0.811, allocations: 447.2 kB / 1.584 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005088/0.8161, allocations: 1.947 MB / 1.586 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.773e-06/0.8161, allocations: 0 / 1.586 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.8181, allocations: 0.6874 MB / 1.587 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/0.8221, allocations: 0.6782 MB / 1.588 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.8273, allocations: 3.245 MB / 1.591 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.8282, allocations: 1.308 MB / 1.592 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002359/0.8305, allocations: 390.6 kB / 1.592 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.8311, allocations: 123.3 kB / 1.593 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.675e-06/0.8311, allocations: 0 / 1.593 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.0557/0.8868, allocations: 27.98 MB / 1.62 GB, free: 120.6 MB / 0.8542 GB