Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 104.3 kB / 16.42 MB, free: 6.516 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.0009804/0.0009805, allocations: 194 kB / 17.36 MB, free: 5.754 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.36/1.36, 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 1.6.0+build.1/package.mo): time 0.428/0.428, allocations: 95.47 MB / 366.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.228e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002242/0.002272, allocations: 1.456 MB / 0.5056 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.003008, allocations: 487.8 kB / 0.5061 GB, free: 10 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.003061, allocations: 0 / 0.5061 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.003101, allocations: 3.938 kB / 0.5061 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.003192, allocations: 15.84 kB / 0.5061 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.003349, allocations: 23.92 kB / 0.5061 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.039e-05/0.003447, allocations: 51.84 kB / 0.5062 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003563, allocations: 19.98 kB / 0.5062 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.00362, allocations: 19.92 kB / 0.5062 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.003687, allocations: 23.91 kB / 0.5062 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003709, allocations: 4 kB / 0.5062 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003726, allocations: 4 kB / 0.5062 GB, free: 9.836 MB / 398.1 MB Notification: Performance of combineBinaries: time 7.796e-05/0.003808, allocations: 71.17 kB / 0.5063 GB, free: 9.766 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 2.802e-05/0.003842, allocations: 39.38 kB / 0.5063 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.003877, allocations: 11.94 kB / 0.5064 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-05/0.003898, allocations: 0 / 0.5064 GB, free: 9.715 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0004004/0.004303, allocations: 320.3 kB / 0.5067 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FunctionAlias: time 3.342e-05/0.004342, allocations: 15.88 kB / 0.5067 GB, free: 9.285 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0001327/0.004481, allocations: 144.3 kB / 0.5068 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplify1: time 1.999e-05/0.004506, allocations: 11.98 kB / 0.5068 GB, free: 9.105 MB / 398.1 MB Notification: Performance of Alias: time 0.0004371/0.004948, allocations: 245.5 kB / 0.5071 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simplify2: time 1.026e-05/0.004967, allocations: 8.266 kB / 0.5071 GB, free: 8.797 MB / 398.1 MB Notification: Performance of Events: time 7.345e-05/0.005045, allocations: 31.88 kB / 0.5071 GB, free: 8.766 MB / 398.1 MB Notification: Performance of Detect States: time 0.0001264/0.005178, allocations: 68.09 kB / 0.5072 GB, free: 8.684 MB / 398.1 MB Notification: Performance of Partitioning: time 5.419e-05/0.005239, allocations: 28.12 kB / 0.5072 GB, free: 8.648 MB / 398.1 MB Notification: Performance of Causalize: time 0.0002134/0.005459, allocations: 168 kB / 0.5074 GB, free: 8.477 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001154/0.005585, allocations: 132.4 kB / 0.5075 GB, free: 8.32 MB / 398.1 MB Notification: Performance of Inline: time 0.0001949/0.005786, allocations: 172.9 kB / 0.5076 GB, free: 8.117 MB / 398.1 MB Notification: Performance of Partitioning: time 1.756e-05/0.005812, allocations: 24.09 kB / 0.5077 GB, free: 8.086 MB / 398.1 MB Notification: Performance of Cleanup: time 1.512e-05/0.005832, allocations: 7.984 kB / 0.5077 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Causalize: time 0.0002386/0.006075, allocations: 232.1 kB / 0.5079 GB, free: 7.844 MB / 398.1 MB Notification: Performance of Tearing: time 6.522e-06/0.006089, allocations: 3.938 kB / 0.5079 GB, free: 7.84 MB / 398.1 MB Notification: Performance of Initialization: time 2.8e-07/0.006093, allocations: 0 / 0.5079 GB, free: 7.84 MB / 398.1 MB Notification: Performance of Tearing: time 2.796e-06/0.006101, allocations: 0 / 0.5079 GB, free: 7.84 MB / 398.1 MB Notification: Performance of Categorize: time 7.434e-06/0.006112, allocations: 3.938 kB / 0.5079 GB, free: 7.836 MB / 398.1 MB [/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 9.382e-05/0.006209, allocations: 36.67 kB / 0.5079 GB, free: 7.801 MB / 398.1 MB Notification: Performance of Jacobian: time 3.777e-06/0.006219, allocations: 0 / 0.5079 GB, free: 7.801 MB / 398.1 MB 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: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {offTim1.u, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 8 (scalar:8, 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 4.368e-05/0.006267, allocations: 31.28 kB / 0.508 GB, free: 7.777 MB / 398.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)