Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001259/0.001259, allocations: 107 kB / 16.38 MB, free: 5.98 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.001297/0.001297, allocations: 188.5 kB / 17.32 MB, free: 5.59 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.823e-05, allocations: 9.594 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003423/0.003467, allocations: 2.046 MB / 0.6749 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004644, allocations: 0.7451 MB / 0.6756 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.004755, allocations: 4 kB / 0.6756 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.004891, allocations: 35.61 kB / 0.6756 GB, free: 3.039 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.773e-05/0.004997, allocations: 51.47 kB / 0.6757 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.005441, allocations: 155.8 kB / 0.6758 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.005815, allocations: 391.1 kB / 0.6762 GB, free: 2.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.006166, allocations: 267.6 kB / 0.6765 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.006378, allocations: 167.5 kB / 0.6766 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.006566, allocations: 171.3 kB / 0.6768 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.006624, allocations: 40 kB / 0.6768 GB, free: 1.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.006713, allocations: 52 kB / 0.6769 GB, free: 1.773 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0003226/0.007042, allocations: 478.6 kB / 0.6773 GB, free: 1.301 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001362/0.007185, allocations: 279.7 kB / 0.6776 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.007251, allocations: 47.88 kB / 0.6776 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.711e-05/0.007314, allocations: 31.75 kB / 0.6777 GB, free: 0.9453 MB / 0.545 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.001459/0.008782, allocations: 1.434 MB / 0.6791 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001666/0.008957, allocations: 127.7 kB / 0.6792 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0008711/0.009837, allocations: 0.9457 MB / 0.6801 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simplify1: time 7.554e-05/0.009923, allocations: 75.89 kB / 0.6802 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of Alias: time 0.001605/0.01154, allocations: 1.427 MB / 0.6816 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simplify2: time 5.307e-05/0.0116, allocations: 51.92 kB / 0.6816 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of Events: time 0.0002666/0.01187, allocations: 191.4 kB / 0.6818 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0004006/0.01228, allocations: 361.9 kB / 0.6822 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0003659/0.01266, allocations: 342.9 kB / 0.6825 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001904/0.01457, allocations: 1.921 MB / 0.6844 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0008056/0.01539, allocations: 0.826 MB / 0.6852 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of Inline: time 0.001185/0.01658, allocations: 1.151 MB / 0.6863 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of Partitioning: time 9.458e-05/0.01669, allocations: 83.59 kB / 0.6864 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of Cleanup: time 5.799e-05/0.01676, allocations: 59.94 kB / 0.6864 GB, free: 7.598 MB / 0.5606 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.003492/0.02025, allocations: 3.393 MB / 0.6897 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of Tearing: time 8.947e-06/0.02027, allocations: 192 / 0.6897 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of Initialization: time 5.31e-07/0.02028, allocations: 0 / 0.6897 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of Tearing: time 5.189e-06/0.02029, allocations: 7.875 kB / 0.6897 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of Categorize: time 1.65e-05/0.02031, allocations: 4 kB / 0.6897 GB, free: 4.246 MB / 0.5606 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.0005452/0.02086, allocations: 250.7 kB / 0.69 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.858e-06/0.02088, allocations: 0 / 0.69 GB, free: 4.004 MB / 0.5606 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 7.978e-05/0.02096, allocations: 69.36 kB / 0.6901 GB, free: 3.953 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false