Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001535/0.001535, allocations: 186.6 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.61e-05, allocations: 9.594 kB / 0.7264 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00404/0.004085, allocations: 2.034 MB / 0.7284 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.005783, allocations: 0.7604 MB / 0.7291 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.006094, allocations: 4 kB / 0.7291 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.006307, allocations: 35.59 kB / 0.7291 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.006518, allocations: 47.53 kB / 0.7292 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.007352, allocations: 147.8 kB / 0.7293 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007051/0.008068, allocations: 399.1 kB / 0.7297 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.008615, allocations: 263.7 kB / 0.73 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.009, allocations: 171.5 kB / 0.7301 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.009326, allocations: 163.3 kB / 0.7303 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.464e-05/0.009429, allocations: 44 kB / 0.7303 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.00956, allocations: 47.98 kB / 0.7304 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0004178/0.009985, allocations: 482.7 kB / 0.7308 GB, free: 144 kB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002146/0.01021, allocations: 283.8 kB / 0.7311 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.01037, allocations: 55.81 kB / 0.7312 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001082/0.01048, allocations: 27.81 kB / 0.7312 GB, free: 15.77 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 (72) * Number of variables: 68 (68) Notification: Performance of Bindings: time 0.001904/0.01239, allocations: 1.43 MB / 0.7326 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0003035/0.0127, allocations: 127.5 kB / 0.7327 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001234/0.01395, allocations: 0.9418 MB / 0.7336 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001434/0.0141, allocations: 75.91 kB / 0.7337 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of Alias: time 0.002023/0.01613, allocations: 1.431 MB / 0.7351 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001301/0.01627, allocations: 55.92 kB / 0.7351 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of Events: time 0.0003425/0.01662, allocations: 199.3 kB / 0.7353 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0005545/0.01719, allocations: 353.9 kB / 0.7357 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0005522/0.01775, allocations: 335 kB / 0.736 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002343/0.0201, allocations: 1.942 MB / 0.7379 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0007962/0.02091, allocations: 0.8104 MB / 0.7387 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of Inline: time 0.001176/0.02209, allocations: 1.171 MB / 0.7398 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of Partitioning: time 8.755e-05/0.02219, allocations: 83.55 kB / 0.7399 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.863e-05/0.02225, allocations: 55.94 kB / 0.74 GB, free: 6.438 MB / 0.5762 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) heaCon.on.outPort[1].reset = heaCon.onToOff.outPort.set ($RES_SIM_62) slice: {}; [SCAL] (1) heaCon.off.outPort[1].reset = heaCon.offToOn.outPort.set ($RES_SIM_66) slice: {}; [SCAL] (1) $SEV_3 = heaCon.offToOn.enableFire and time >= ((time - heaCon.offToOn.t_dummy) + heaCon.offToOn.waitTime) ($RES_EVT_103) slice: {}; [SCAL] (1) $SEV_1 = heaCon.onToOff.enableFire and time >= ((time - heaCon.onToOff.t_dummy) + heaCon.onToOff.waitTime) ($RES_EVT_101) slice: {}; Notification: Performance of Causalize: time 0.003375/0.02564, allocations: 3.396 MB / 0.7433 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Tearing: time 9.547e-06/0.02566, allocations: 0 / 0.7433 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Initialization: time 4.01e-07/0.02566, allocations: 0 / 0.7433 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Tearing: time 2.665e-06/0.02567, allocations: 0 / 0.7433 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Categorize: time 1.315e-05/0.02569, allocations: 4.078 kB / 0.7433 GB, free: 3.082 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for pre Notification: Performance of Solve: time 0.0004464/0.02614, allocations: 262.7 kB / 0.7435 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.987e-06/0.02615, allocations: 0 / 0.7435 GB, free: 2.828 MB / 0.5762 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: ......... 1 * 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: .................... 2 (2) {heaCon.on.oldActive, heaCon.off.oldActive} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 45 (45) {heaCon.off.inPort.set, heaCon.off.inPort.occupied, heaCon.off.outPort.reset, heaCon.off.outPort.available, heaCon.off.outerStatePort.localActive, heaCon.off.newActive, heaCon.on.inPort.set, heaCon.on.inPort.occupied, heaCon.on.outPort.reset, heaCon.on.outPort.available, heaCon.on.outerStatePort.localActive, heaCon.on.newActive, heaCon.offToOn.localCondition, heaCon.offToOn.enableFire, heaCon.offToOn.inPort.available, heaCon.offToOn.outPort.occupied, heaCon.offToOn.outPort.set, heaCon.onToOff.localCondition, heaCon.onToOff.enableFire, heaCon.onToOff.inPort.available, heaCon.onToOff.outPort.occupied, heaCon.onToOff.outPort.set, heaCon.stateGraphRoot.activeSteps, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $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: ........... 56 (scalar:56, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 74 (scalar:74, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.018e-05/0.02624, allocations: 53.53 kB / 0.7436 GB, free: 2.785 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false