Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001178/0.001178, allocations: 111.3 kB / 16.42 MB, free: 6.039 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.001165/0.001165, allocations: 186.7 kB / 17.35 MB, free: 5.598 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.133/1.133, 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 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 251.7 MB / 0.51 GB, free: 428 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.35e-05, allocations: 6.219 kB / 0.7264 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002493/0.002515, allocations: 2.015 MB / 0.7283 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003593, allocations: 0.7371 MB / 0.7291 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.632e-05/0.003699, allocations: 4 kB / 0.7291 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.003819, allocations: 35.61 kB / 0.7291 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.003903, allocations: 43.59 kB / 0.7291 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.004259, allocations: 163.7 kB / 0.7293 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.004615, allocations: 399.2 kB / 0.7297 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.004922, allocations: 271.8 kB / 0.7299 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.005079, allocations: 163.6 kB / 0.7301 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.005258, allocations: 171.3 kB / 0.7303 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.005325, allocations: 48 kB / 0.7303 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.591e-05/0.005407, allocations: 52 kB / 0.7303 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0002767/0.005689, allocations: 474.8 kB / 0.7308 GB, free: 164 kB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0001334/0.005828, allocations: 279.9 kB / 0.7311 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.005881, allocations: 47.88 kB / 0.7311 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.743e-05/0.005923, allocations: 31.69 kB / 0.7311 GB, free: 15.8 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: 76 (76) * Number of variables: 72 (72) Notification: Performance of Bindings: time 0.001221/0.007148, allocations: 1.45 MB / 0.7326 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001172/0.007272, allocations: 107.6 kB / 0.7327 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.000812/0.00809, allocations: 0.9847 MB / 0.7336 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simplify1: time 6.106e-05/0.008157, allocations: 63.91 kB / 0.7337 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of Alias: time 0.001419/0.009583, allocations: 1.482 MB / 0.7351 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simplify2: time 5.597e-05/0.009648, allocations: 55.92 kB / 0.7352 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of Events: time 0.0002317/0.009887, allocations: 213.9 kB / 0.7354 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000359/0.01025, allocations: 400.1 kB / 0.7358 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003352/0.0106, allocations: 353.5 kB / 0.7361 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001745/0.01235, allocations: 1.97 MB / 0.738 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.000697/0.01305, allocations: 0.8442 MB / 0.7389 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of Inline: time 0.001049/0.01411, allocations: 1.208 MB / 0.74 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of Partitioning: time 7.448e-05/0.01419, allocations: 83.56 kB / 0.7401 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of Cleanup: time 4.754e-05/0.01425, allocations: 55.94 kB / 0.7402 GB, free: 6.207 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) 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.003012/0.01727, allocations: 3.541 MB / 0.7436 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Tearing: time 6.261e-06/0.01728, allocations: 0 / 0.7436 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Initialization: time 3.5e-07/0.01729, allocations: 0 / 0.7436 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Tearing: time 4.95e-06/0.0173, allocations: 3.938 kB / 0.7436 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of Categorize: time 9.498e-06/0.01731, allocations: 7.984 kB / 0.7436 GB, free: 2.715 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.0003621/0.01768, allocations: 238.8 kB / 0.7439 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.727e-06/0.01769, allocations: 4 kB / 0.7439 GB, free: 2.477 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: .................... 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.984e-05/0.01774, allocations: 54.48 kB / 0.7439 GB, free: 2.43 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false