Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=200,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_11_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_11_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.001159/0.001159, allocations: 110.5 kB / 16.42 MB, free: 6.465 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.001166/0.001167, allocations: 183.2 kB / 17.35 MB, free: 5.703 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.09 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.359/2.359, allocations: 469.8 MB / 0.7432 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.546e-05, allocations: 2.281 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002641/0.002665, allocations: 2.082 MB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.003498, allocations: 0.5611 MB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.003612, allocations: 7.938 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.003727, allocations: 23.73 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.003817, allocations: 39.59 kB / 1.069 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.004049, allocations: 87.88 kB / 1.069 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.004337, allocations: 291.3 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.004525, allocations: 79.14 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004645, allocations: 111.6 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.004768, allocations: 119.4 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.004817, allocations: 28 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.642e-05/0.004858, allocations: 28 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002327/0.005095, allocations: 375.8 kB / 1.07 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 9.579e-05/0.005197, allocations: 220.6 kB / 1.07 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.005244, allocations: 39.81 kB / 1.07 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.277e-05/0.005282, allocations: 8 kB / 1.07 GB, free: 9.457 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.000797/0.006083, allocations: 0.8866 MB / 1.071 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 3.758e-05/0.006128, allocations: 43.92 kB / 1.071 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004186/0.006551, allocations: 490.2 kB / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001126/0.006671, allocations: 126.4 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008905/0.007568, allocations: 0.7586 MB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simplify2: time 8.06e-05/0.007657, allocations: 100.5 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003133/0.007977, allocations: 195.9 kB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of Events: time 0.0002354/0.00822, allocations: 185.4 kB / 1.073 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001544/0.008381, allocations: 149.4 kB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000612/0.008999, allocations: 0.5038 MB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004282/0.009436, allocations: 462.2 kB / 1.074 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of Inline: time 0.0006644/0.01011, allocations: 0.6181 MB / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.406e-05/0.01015, allocations: 30.23 kB / 1.074 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001001/0.01026, allocations: 135.9 kB / 1.074 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008233/0.01109, allocations: 0.668 MB / 1.075 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of Tearing: time 1.123e-05/0.01111, allocations: 7.938 kB / 1.075 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of Initialization: time 3.3e-07/0.01111, allocations: 0 / 1.075 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of Tearing: time 2.795e-06/0.01112, allocations: 0 / 1.075 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of Categorize: time 7.935e-06/0.01113, allocations: 0 / 1.075 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001398/0.01128, allocations: 97.95 kB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.057e-06/0.01129, allocations: 3.938 kB / 1.075 GB, free: 3.578 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 8.205e-05/0.01137, allocations: 29.08 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not antFre.hys.y