Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_latest_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.0009649/0.0009648, allocations: 111.1 kB / 16.43 MB, free: 6.461 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.001118/0.001118, allocations: 188.2 kB / 17.36 MB, free: 5.73 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.283/2.283, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.649e-05, allocations: 5.312 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003292/0.003327, allocations: 2.007 MB / 1.057 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004588, allocations: 0.7013 MB / 1.057 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.004756, allocations: 7.938 kB / 1.057 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.004908, allocations: 31.61 kB / 1.057 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.005034, allocations: 47.58 kB / 1.057 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.005527, allocations: 155.8 kB / 1.058 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.006052, allocations: 399.2 kB / 1.058 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.006503, allocations: 263.8 kB / 1.058 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.006755, allocations: 167.5 kB / 1.058 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.006998, allocations: 167.3 kB / 1.058 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.00709, allocations: 44 kB / 1.059 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.007202, allocations: 59.98 kB / 1.059 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0003029/0.007511, allocations: 474.8 kB / 1.059 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001398/0.007658, allocations: 283.6 kB / 1.059 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.007738, allocations: 47.88 kB / 1.059 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.233e-05/0.007815, allocations: 39.73 kB / 1.059 GB, free: 2.906 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: 76 (76) * Number of variables: 72 (72) Notification: Performance of Bindings: time 0.001417/0.009237, allocations: 1.442 MB / 1.061 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001722/0.009415, allocations: 111.7 kB / 1.061 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0009215/0.01034, allocations: 0.9886 MB / 1.062 GB, free: 236 kB / 0.8262 GB Notification: Performance of simplify1: time 8.629e-05/0.01044, allocations: 67.91 kB / 1.062 GB, free: 168 kB / 0.8262 GB Notification: Performance of Alias: time 0.001828/0.01228, allocations: 1.616 MB / 1.063 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simplify2: time 8.493e-05/0.01237, allocations: 59.91 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Events: time 0.0002848/0.01266, allocations: 209.8 kB / 1.064 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004323/0.0131, allocations: 409.8 kB / 1.064 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003962/0.01351, allocations: 353.6 kB / 1.064 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001506/0.01502, allocations: 1.446 MB / 1.066 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0007235/0.01576, allocations: 0.8403 MB / 1.067 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of Inline: time 0.001112/0.01688, allocations: 1.201 MB / 1.068 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.809e-05/0.01697, allocations: 75.61 kB / 1.068 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.877e-05/0.01705, allocations: 59.94 kB / 1.068 GB, free: 9.645 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) 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.00348/0.02054, allocations: 3.179 MB / 1.071 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of Tearing: time 1.308e-05/0.02056, allocations: 8 kB / 1.071 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Initialization: time 6.01e-07/0.02057, allocations: 0 / 1.071 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Tearing: time 3.456e-06/0.02057, allocations: 0 / 1.071 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Categorize: time 7.304e-06/0.02058, allocations: 0 / 1.071 GB, free: 6.422 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.0003746/0.02096, allocations: 238.6 kB / 1.071 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.897e-06/0.02098, allocations: 0 / 1.071 GB, free: 6.191 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: .................... 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 6.009e-05/0.02104, allocations: 52.7 kB / 1.071 GB, free: 6.148 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false