Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001034, allocations: 105.3 kB / 16.37 MB, free: 6.363 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.001051/0.001051, allocations: 191.5 kB / 17.31 MB, free: 5.91 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.125/1.125, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.541/1.541, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.777e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002689/0.002719, allocations: 2.007 MB / 0.6748 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.003718, allocations: 0.7295 MB / 0.6755 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.003807, allocations: 4 kB / 0.6755 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.003922, allocations: 35.61 kB / 0.6756 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.004007, allocations: 47.58 kB / 0.6756 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.004348, allocations: 151.8 kB / 0.6758 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.004699, allocations: 411 kB / 0.6762 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.004999, allocations: 272.4 kB / 0.6764 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.005157, allocations: 179.5 kB / 0.6766 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.005316, allocations: 167.3 kB / 0.6767 GB, free: 1.906 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.005378, allocations: 44 kB / 0.6768 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-05/0.005456, allocations: 55.98 kB / 0.6768 GB, free: 1.809 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002734/0.005735, allocations: 470.8 kB / 0.6773 GB, free: 1.344 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001184/0.005859, allocations: 275.8 kB / 0.6776 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.005911, allocations: 51.81 kB / 0.6776 GB, free: 1.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.151e-05/0.005947, allocations: 27.75 kB / 0.6776 GB, free: 0.9922 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: 76 (76) * Number of variables: 72 (72) Notification: Performance of Bindings: time 0.001191/0.007143, allocations: 1.446 MB / 0.679 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001192/0.007268, allocations: 107.8 kB / 0.6791 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0008096/0.008084, allocations: 0.9925 MB / 0.6801 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simplify1: time 6.482e-05/0.008156, allocations: 67.89 kB / 0.6802 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Alias: time 0.001374/0.009535, allocations: 1.475 MB / 0.6816 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simplify2: time 4.275e-05/0.009589, allocations: 51.94 kB / 0.6817 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of Events: time 0.0002269/0.009821, allocations: 206 kB / 0.6819 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0003402/0.01017, allocations: 405.1 kB / 0.6822 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.000322/0.0105, allocations: 353.6 kB / 0.6826 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001733/0.01224, allocations: 1.965 MB / 0.6845 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0006828/0.01293, allocations: 0.8481 MB / 0.6853 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of Inline: time 0.001001/0.01394, allocations: 1.193 MB / 0.6865 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of Partitioning: time 8.179e-05/0.01403, allocations: 91.53 kB / 0.6866 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of Cleanup: time 4.604e-05/0.01408, allocations: 59.88 kB / 0.6866 GB, free: 7.391 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) wseCon.on.outPort[1].reset = wseCon.T2.outPort.set ($RES_SIM_65) slice: {}; [SCAL] (1) wseCon.off.outPort[1].reset = wseCon.T1.outPort.set ($RES_SIM_69) slice: {}; [SCAL] (1) $SEV_4 = wseCon.T1.enableFire and time >= ((time - wseCon.T1.t_dummy) + wseCon.T1.waitTime) ($RES_EVT_105) slice: {}; [SCAL] (1) $SEV_1 = wseCon.T2.enableFire and time >= ((time - wseCon.T2.t_dummy) + wseCon.T2.waitTime) ($RES_EVT_102) slice: {}; Notification: Performance of Causalize: time 0.002926/0.01701, allocations: 3.52 MB / 0.6901 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of Tearing: time 4.749e-06/0.01703, allocations: 96 / 0.6901 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of Initialization: time 3.3e-07/0.01703, allocations: 3.938 kB / 0.6901 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of Tearing: time 1.282e-06/0.01704, allocations: 0 / 0.6901 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of Categorize: time 8.816e-06/0.01705, allocations: 12.05 kB / 0.6901 GB, free: 3.902 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.000349/0.01741, allocations: 246.7 kB / 0.6903 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.535e-06/0.01742, allocations: 0 / 0.6903 GB, free: 3.656 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: .................... 4 (4) {wseCon.on.oldActive, wseCon.off.oldActive, wseCHWST.T_start, wseCHWST.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 46 (46) {wseCon.off.inPort.set, wseCon.off.inPort.occupied, wseCon.off.outPort.reset, wseCon.off.outPort.available, wseCon.off.outerStatePort.localActive, wseCon.off.newActive, wseCon.T1.localCondition, wseCon.T1.enableFire, wseCon.T1.inPort.available, wseCon.T1.outPort.occupied, wseCon.T1.outPort.set, wseCon.on.inPort.set, wseCon.on.inPort.occupied, wseCon.on.outPort.reset, wseCon.on.outPort.available, wseCon.on.outerStatePort.localActive, wseCon.on.newActive, wseCon.T2.localCondition, wseCon.T2.enableFire, wseCon.T2.inPort.available, wseCon.T2.outPort.occupied, wseCon.T2.outPort.set, wseCon.stateGraphRoot.activeSteps, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 55 (scalar:55, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 75 (scalar:75, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 4.226e-05/0.01746, allocations: 45.48 kB / 0.6904 GB, free: 3.621 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false