Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001125/0.001124, 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.001099/0.001099, 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.165/1.165, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.29/2.29, allocations: 472.7 MB / 0.746 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.789e-05, allocations: 2.281 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002784/0.00281, allocations: 2.035 MB / 1.072 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.003809, allocations: 0.5766 MB / 1.073 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.003949, allocations: 4 kB / 1.073 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.004066, allocations: 23.67 kB / 1.073 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.004202, allocations: 51.66 kB / 1.073 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.004436, allocations: 95.8 kB / 1.073 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.00475, allocations: 311.3 kB / 1.073 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.004986, allocations: 123.4 kB / 1.073 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.005137, allocations: 119.5 kB / 1.073 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.005281, allocations: 135.4 kB / 1.074 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.005334, allocations: 28 kB / 1.074 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.323e-05/0.005382, allocations: 28 kB / 1.074 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002616/0.005649, allocations: 403.4 kB / 1.074 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001134/0.005768, allocations: 232.4 kB / 1.074 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.005823, allocations: 35.88 kB / 1.074 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.341e-05/0.005881, allocations: 19.86 kB / 1.074 GB, free: 5.34 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.001052/0.006938, allocations: 1.207 MB / 1.075 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.801e-05/0.007004, allocations: 47.91 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005994/0.007608, allocations: 0.7052 MB / 1.076 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of simplify1: time 5.707e-05/0.007672, allocations: 47.92 kB / 1.076 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of Alias: time 0.001246/0.008924, allocations: 1.183 MB / 1.077 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of simplify2: time 5.064e-05/0.008984, allocations: 39.92 kB / 1.077 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002936/0.009283, allocations: 288.2 kB / 1.078 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of Events: time 0.0003267/0.009618, allocations: 242.1 kB / 1.078 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002272/0.009852, allocations: 241.2 kB / 1.078 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007596/0.01062, allocations: 0.7204 MB / 1.079 GB, free: 308 kB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.4288/0.4395, allocations: 0.6915 MB / 1.08 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of Inline: time 0.001017/0.4405, allocations: 0.9807 MB / 1.08 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.587e-05/0.4406, allocations: 55.17 kB / 1.081 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.963e-05/0.4406, allocations: 47.58 kB / 1.081 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00121/0.4418, allocations: 1.126 MB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Tearing: time 1.17e-05/0.4419, allocations: 0 / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Initialization: time 8.12e-07/0.4419, allocations: 3.375 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Tearing: time 5.19e-06/0.4419, allocations: 3.578 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Categorize: time 1.35e-05/0.4419, allocations: 9.266 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001913/0.4421, allocations: 134.1 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.155e-06/0.4421, allocations: 1.125 kB / 1.082 GB, free: 14.92 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.count, mEvaEmu_flow.T_start, mConEmu_flow.count, mConEmu_flow.T_start, ySetPul.count, ySetPul.T_start, 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.34e-05/0.4422, allocations: 46.48 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not minFloRatSaf.and1.y