Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") translateModel(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001182/0.001182, allocations: 107 kB / 16.42 MB, free: 6.512 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.001081/0.001081, allocations: 187.2 kB / 17.35 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.139/1.139, 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/Annex60 1.0.0/package.mo): time 0.2433/0.2433, allocations: 54.95 MB / 325.5 MB, free: 4.867 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.055e-05, allocations: 6.219 kB / 456.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.002008/0.002038, allocations: 1.456 MB / 458.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.002728, allocations: 496.2 kB / 458.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.00278, allocations: 4 kB / 458.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.002809, allocations: 3.938 kB / 458.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.002872, allocations: 7.922 kB / 458.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.003005, allocations: 23.92 kB / 458.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.003093, allocations: 59.83 kB / 458.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.003188, allocations: 16 kB / 458.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.003242, allocations: 23.91 kB / 458.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.003293, allocations: 19.86 kB / 458.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.003312, allocations: 4 kB / 458.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.003327, allocations: 4 kB / 458.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of combineBinaries: time 6.374e-05/0.003395, allocations: 67.31 kB / 459 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 1.842e-05/0.003426, allocations: 43.31 kB / 459 MB, free: 496 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.003456, allocations: 12 kB / 459 MB, free: 484 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-05/0.003475, allocations: 0 / 459 MB, free: 484 kB / 334.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.00034/0.003821, allocations: 321.5 kB / 459.3 MB, free: 60 kB / 334.1 MB Notification: Performance of FunctionAlias: time 1.752e-05/0.003845, allocations: 7.938 kB / 459.3 MB, free: 52 kB / 334.1 MB Notification: Performance of Early Inline: time 0.0001373/0.003987, allocations: 140.3 kB / 459.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplify1: time 1.894e-05/0.004012, allocations: 11.97 kB / 459.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Alias: time 0.0003648/0.004381, allocations: 261.7 kB / 459.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simplify2: time 7.073e-06/0.004398, allocations: 3.984 kB / 459.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Events: time 5.433e-05/0.004457, allocations: 19.97 kB / 459.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001032/0.004566, allocations: 64.14 kB / 459.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Partitioning: time 5.151e-05/0.004625, allocations: 36.11 kB / 459.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001866/0.004817, allocations: 168.2 kB / 460 MB, free: 15.24 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000104/0.004932, allocations: 140.3 kB / 460.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of Inline: time 0.0001737/0.005111, allocations: 168.2 kB / 460.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Partitioning: time 1.302e-05/0.005133, allocations: 16.12 kB / 460.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Cleanup: time 1.451e-05/0.005155, allocations: 15.92 kB / 460.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002195/0.005378, allocations: 232.1 kB / 460.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Tearing: time 4.539e-06/0.005391, allocations: 0 / 460.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Initialization: time 3.01e-07/0.005396, allocations: 0 / 460.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Tearing: time 2.245e-06/0.005402, allocations: 4 kB / 460.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Categorize: time 6.673e-06/0.005413, allocations: 3.938 kB / 460.6 MB, free: 14.6 MB / 350.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 8.499e-05/0.005502, allocations: 39.89 kB / 460.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of Jacobian: time 2.524e-06/0.00551, allocations: 0 / 460.6 MB, free: 14.56 MB / 350.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 2.851e-05/0.005543, allocations: 25.31 kB / 460.7 MB, free: 14.54 MB / 350.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)