Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="mat",numberOfIntervals=200,variableFilter="time|ySet|yOut|minFloRatSaf.sigBus.mEvaMea_flow|minFloRatSaf.sigBus.mConMea_flow|minFloRatSaf.mEvaMin_flow|minFloRatSaf.mConMin_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="mat",numberOfIntervals=200,variableFilter="time|ySet|yOut|minFloRatSaf.sigBus.mEvaMea_flow|minFloRatSaf.sigBus.mConMea_flow|minFloRatSaf.mEvaMin_flow|minFloRatSaf.mConMin_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 115.2 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.38/2.38, allocations: 469.8 MB / 0.7431 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.644e-05, allocations: 4.391 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002724/0.002749, allocations: 2.027 MB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.003658, allocations: 0.5806 MB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003773, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.003895, allocations: 27.67 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.004027, allocations: 39.64 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.004245, allocations: 99.81 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.004553, allocations: 307.3 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.004772, allocations: 87.48 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.004914, allocations: 119.5 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.005056, allocations: 135.4 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.005112, allocations: 32 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.005155, allocations: 28 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000256/0.005416, allocations: 395.5 kB / 1.07 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001235/0.005545, allocations: 244.3 kB / 1.07 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.005595, allocations: 35.88 kB / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.931e-05/0.005639, allocations: 15.88 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 (47) * Number of variables: 47 (47) Notification: Performance of Bindings: time 0.0008901/0.006534, allocations: 0.9276 MB / 1.071 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.488e-05/0.006604, allocations: 47.91 kB / 1.071 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004861/0.007097, allocations: 0.506 MB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001479/0.007252, allocations: 138.5 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of Alias: time 0.00105/0.008308, allocations: 0.7766 MB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of simplify2: time 9.284e-05/0.008411, allocations: 112.6 kB / 1.072 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002515/0.008668, allocations: 207.8 kB / 1.073 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of Events: time 0.0003031/0.008979, allocations: 229 kB / 1.073 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001958/0.009183, allocations: 175.8 kB / 1.073 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006759/0.009865, allocations: 0.5776 MB / 1.073 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004516/0.01033, allocations: 0.4949 MB / 1.074 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007446/0.01108, allocations: 0.7177 MB / 1.075 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.609e-05/0.01113, allocations: 34.3 kB / 1.075 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.000106/0.01124, allocations: 147.8 kB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009792/0.01223, allocations: 0.757 MB / 1.076 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of Tearing: time 2.095e-05/0.01226, allocations: 0 / 1.076 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of Initialization: time 3.21e-07/0.01226, allocations: 7.938 kB / 1.076 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of Tearing: time 3.807e-06/0.01227, allocations: 4 kB / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of Categorize: time 1.086e-05/0.01229, allocations: 0 / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001719/0.01246, allocations: 107.3 kB / 1.076 GB, free: 3 MB / 0.8419 GB Notification: Performance of Jacobian: time 5.68e-06/0.01248, allocations: 7.875 kB / 1.076 GB, free: 2.992 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 7 (7) {mEvaEmu_flow.T_start, mEvaEmu_flow.count, mConEmu_flow.T_start, mConEmu_flow.count, ySetPul.T_start, ySetPul.count, minFloRatSaf.disErr.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 24 (24) {hys.y, minFloRatSaf.hysCon.y, minFloRatSaf.hysEva.y, minFloRatSaf.and1.y, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:31, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:50, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.26e-05/0.01257, allocations: 52.3 kB / 1.076 GB, free: 2.949 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not minFloRatSaf.and1.y