Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001354/0.001354, allocations: 110.3 kB / 16.42 MB, free: 6.48 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.001136/0.001136, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.592/1.592, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.42/1.42, allocations: 251.7 MB / 0.51 GB, free: 416 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.785e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002996/0.003034, allocations: 1.472 MB / 0.7278 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.004007, allocations: 492.8 kB / 0.7283 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.004083, allocations: 0 / 0.7283 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.004122, allocations: 3.938 kB / 0.7283 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.284e-05/0.004222, allocations: 19.91 kB / 0.7283 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.004441, allocations: 15.98 kB / 0.7283 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.004564, allocations: 55.78 kB / 0.7283 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004699, allocations: 11.98 kB / 0.7284 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.004781, allocations: 23.92 kB / 0.7284 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.004851, allocations: 23.91 kB / 0.7284 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.004879, allocations: 4 kB / 0.7284 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.004899, allocations: 11.94 kB / 0.7284 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of combineBinaries: time 7.931e-05/0.004983, allocations: 59.33 kB / 0.7285 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.79e-05/0.005016, allocations: 51.3 kB / 0.7285 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.005066, allocations: 8 kB / 0.7285 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.702e-05/0.005099, allocations: 3.938 kB / 0.7285 GB, free: 2.52 MB / 0.5606 GB 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.0004426/0.005546, allocations: 324.3 kB / 0.7288 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 2.857e-05/0.005581, allocations: 11.94 kB / 0.7289 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001528/0.005738, allocations: 140.3 kB / 0.729 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simplify1: time 2.786e-05/0.005775, allocations: 15.98 kB / 0.729 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of Alias: time 0.000488/0.006268, allocations: 261.6 kB / 0.7293 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simplify2: time 1.077e-05/0.006289, allocations: 7.984 kB / 0.7293 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Events: time 7.834e-05/0.006375, allocations: 16 kB / 0.7293 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Detect States: time 0.000153/0.006534, allocations: 68.17 kB / 0.7293 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of Partitioning: time 6.458e-05/0.006606, allocations: 32.11 kB / 0.7294 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002198/0.006833, allocations: 176.4 kB / 0.7295 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001135/0.006955, allocations: 124.4 kB / 0.7297 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of Inline: time 0.0002379/0.007199, allocations: 171 kB / 0.7298 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of Partitioning: time 2.19e-05/0.007232, allocations: 24.09 kB / 0.7298 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of Cleanup: time 1.949e-05/0.007256, allocations: 11.92 kB / 0.7299 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002397/0.007501, allocations: 228 kB / 0.7301 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Tearing: time 7.585e-06/0.007517, allocations: 0 / 0.7301 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Initialization: time 4.81e-07/0.007522, allocations: 0 / 0.7301 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Tearing: time 2.234e-06/0.007529, allocations: 0 / 0.7301 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Categorize: time 7.655e-06/0.007541, allocations: 0 / 0.7301 GB, free: 0.6484 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.0001069/0.007654, allocations: 47.94 kB / 0.7301 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.947e-06/0.007665, allocations: 0 / 0.7301 GB, free: 0.6016 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: .................... 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.523e-05/0.007714, allocations: 23.66 kB / 0.7301 GB, free: 0.5859 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)