Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_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.001146/0.001146, allocations: 115.8 kB / 16.43 MB, free: 6.496 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.001222/0.001222, allocations: 185.6 kB / 17.35 MB, free: 5.754 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.251/1.251, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.355/2.355, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.768e-05, allocations: 2.281 kB / 1.055 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002682/0.002709, allocations: 2.042 MB / 1.057 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003893, allocations: 0.7091 MB / 1.057 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.004064, allocations: 4 kB / 1.057 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.004213, allocations: 31.61 kB / 1.057 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.004334, allocations: 51.52 kB / 1.057 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.004789, allocations: 151.8 kB / 1.058 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.005197, allocations: 387.1 kB / 1.058 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003869/0.005592, allocations: 275.7 kB / 1.058 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.005825, allocations: 167.5 kB / 1.058 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.006044, allocations: 167.3 kB / 1.058 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.006119, allocations: 40 kB / 1.059 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.006214, allocations: 52 kB / 1.059 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002791/0.006499, allocations: 482.6 kB / 1.059 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001331/0.006639, allocations: 279.8 kB / 1.059 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.006712, allocations: 51.81 kB / 1.059 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.52e-05/0.006782, allocations: 35.8 kB / 1.059 GB, free: 2.883 MB / 0.8262 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.00125/0.008038, allocations: 1.434 MB / 1.061 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001788/0.008223, allocations: 135.6 kB / 1.061 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0008179/0.009047, allocations: 0.9535 MB / 1.062 GB, free: 232 kB / 0.8262 GB Notification: Performance of simplify1: time 7.933e-05/0.009134, allocations: 67.91 kB / 1.062 GB, free: 164 kB / 0.8262 GB Notification: Performance of Alias: time 0.001629/0.01077, allocations: 1.549 MB / 1.063 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simplify2: time 7.65e-05/0.01086, allocations: 55.92 kB / 1.063 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Events: time 0.0002433/0.0111, allocations: 211.2 kB / 1.064 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003348/0.01145, allocations: 359.3 kB / 1.064 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003551/0.01181, allocations: 346.9 kB / 1.064 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001562/0.01338, allocations: 1.418 MB / 1.066 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0006715/0.01406, allocations: 0.8221 MB / 1.067 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Inline: time 0.001029/0.0151, allocations: 1.163 MB / 1.068 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.573e-05/0.01519, allocations: 79.55 kB / 1.068 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of Cleanup: time 8.033e-05/0.01528, allocations: 59.94 kB / 1.068 GB, free: 9.852 MB / 0.8419 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.003448/0.01873, allocations: 3.083 MB / 1.071 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of Tearing: time 1.006e-05/0.01875, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of Initialization: time 8.71e-07/0.01876, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of Tearing: time 3.106e-06/0.01876, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of Categorize: time 1.189e-05/0.01878, allocations: 4 kB / 1.071 GB, free: 6.73 MB / 0.8419 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.0003935/0.01918, allocations: 258.6 kB / 1.071 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.096e-06/0.01919, allocations: 0 / 1.071 GB, free: 6.477 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: ......... 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 6.543e-05/0.01926, allocations: 56.61 kB / 1.071 GB, free: 6.426 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false