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.001088/0.001088, allocations: 112.6 kB / 16.42 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.00116/0.00116, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.15/1.15, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.263/2.263, allocations: 474.4 MB / 0.7477 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/1.905e-05, allocations: 4.672 kB / 1.073 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002731/0.002758, allocations: 2.089 MB / 1.075 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.00367, allocations: 0.5533 MB / 1.075 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003789, allocations: 11.94 kB / 1.075 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.156e-05/0.003877, allocations: 23.72 kB / 1.075 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.00398, allocations: 43.59 kB / 1.075 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.004188, allocations: 83.89 kB / 1.075 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.004466, allocations: 287.3 kB / 1.076 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.004632, allocations: 87.06 kB / 1.076 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.00476, allocations: 111.6 kB / 1.076 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004868, allocations: 115.5 kB / 1.076 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.004915, allocations: 24 kB / 1.076 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.067e-05/0.004952, allocations: 28 kB / 1.076 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002157/0.005172, allocations: 379.7 kB / 1.076 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001009/0.00528, allocations: 228.6 kB / 1.077 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.005327, allocations: 35.88 kB / 1.077 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.232e-05/0.005374, allocations: 11.94 kB / 1.077 GB, free: 3.121 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.0007461/0.006125, allocations: 0.8787 MB / 1.077 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.147e-05/0.006173, allocations: 51.83 kB / 1.078 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004119/0.00659, allocations: 490.2 kB / 1.078 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001079/0.006706, allocations: 106.6 kB / 1.078 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008736/0.007585, allocations: 0.7588 MB / 1.079 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of simplify2: time 7.865e-05/0.007673, allocations: 76.3 kB / 1.079 GB, free: 468 kB / 0.8419 GB Notification: Performance of Detect States: time 0.0003289/0.008008, allocations: 210 kB / 1.079 GB, free: 244 kB / 0.8419 GB Notification: Performance of Events: time 0.0002205/0.008237, allocations: 178.9 kB / 1.079 GB, free: 72 kB / 0.8419 GB Notification: Performance of Partitioning: time 0.445/0.4533, allocations: 150.4 kB / 1.079 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006938/0.454, allocations: 486.5 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004318/0.4544, allocations: 469.1 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of Inline: time 0.0006596/0.4551, allocations: 0.6367 MB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.74e-05/0.4551, allocations: 21.64 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of Cleanup: time 9.169e-05/0.4552, allocations: 127 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008443/0.4561, allocations: 0.6748 MB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of Tearing: time 7.364e-06/0.4561, allocations: 4.484 kB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Initialization: time 6.31e-07/0.4561, allocations: 3.156 kB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Tearing: time 3.126e-06/0.4561, allocations: 1.531 kB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Categorize: time 6.351e-06/0.4561, allocations: 2.281 kB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001411/0.4563, allocations: 92.12 kB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Jacobian: time 1.693e-06/0.4563, allocations: 384 / 1.082 GB, free: 13.26 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 7.96e-05/0.4564, allocations: 38.88 kB / 1.082 GB, free: 13.24 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not antFre.hys.y