Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=200,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=200,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009882, allocations: 115.3 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.001037/0.001037, 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.179/1.179, allocations: 222.9 MB / 241.1 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.307/2.307, allocations: 474.4 MB / 0.7477 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.749e-05, allocations: 4.812 kB / 1.073 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002534/0.002559, allocations: 2.077 MB / 1.075 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007631/0.003333, allocations: 0.5611 MB / 1.075 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.003427, allocations: 3.938 kB / 1.075 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.003539, allocations: 19.73 kB / 1.075 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.003626, allocations: 43.64 kB / 1.075 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.00385, allocations: 87.83 kB / 1.075 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.004134, allocations: 291.3 kB / 1.076 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.004342, allocations: 115.1 kB / 1.076 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.004459, allocations: 119.5 kB / 1.076 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.004578, allocations: 115.5 kB / 1.076 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.004629, allocations: 28 kB / 1.076 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.004669, allocations: 24 kB / 1.076 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000228/0.004901, allocations: 375.8 kB / 1.076 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 9.376e-05/0.005, allocations: 224.6 kB / 1.077 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.005042, allocations: 31.88 kB / 1.077 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.166e-05/0.005079, allocations: 15.92 kB / 1.077 GB, free: 3.062 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: 45 (45) * Number of variables: 45 (45) Notification: Performance of Bindings: time 0.0009698/0.006054, allocations: 1.16 MB / 1.078 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.38e-05/0.006103, allocations: 51.83 kB / 1.078 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005454/0.006653, allocations: 0.6661 MB / 1.078 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of simplify1: time 4.324e-05/0.006702, allocations: 47.92 kB / 1.078 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of Alias: time 0.4221/0.4288, allocations: 1.125 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simplify2: time 8.889e-05/0.4289, allocations: 35.16 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003941/0.4293, allocations: 262.7 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of Events: time 0.0003065/0.4296, allocations: 193.7 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002084/0.4298, allocations: 209.6 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007881/0.4306, allocations: 0.6465 MB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0005288/0.4312, allocations: 0.6207 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007475/0.4319, allocations: 0.8533 MB / 1.082 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.003e-05/0.432, allocations: 48.8 kB / 1.082 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.332e-05/0.432, allocations: 46.33 kB / 1.082 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00104/0.4331, allocations: 0.9751 MB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Tearing: time 1.267e-05/0.4331, allocations: 1.125 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Initialization: time 3.61e-07/0.4331, allocations: 0 / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Tearing: time 3.586e-06/0.4331, allocations: 2.109 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Categorize: time 1.326e-05/0.4331, allocations: 9.734 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001621/0.4333, allocations: 112.4 kB / 1.083 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.855e-06/0.4333, allocations: 0 / 1.083 GB, free: 12.89 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: ......... 3 * 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) {TEvaOutEmu.T_start, TEvaOutEmu.count, TConInEmu.T_start, TConInEmu.count, ySetPul.T_start, ySetPul.count, antFre.disErr.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 18 (18) {hys.y, antFre.hys.y, $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_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: ........... 26 (scalar:26, 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: ........... 42 (scalar:42, 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 5.588e-05/0.4334, allocations: 33.86 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not antFre.hys.y