Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001075/0.001075, allocations: 105.3 kB / 16.37 MB, free: 6.371 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.0009497/0.0009497, allocations: 190 kB / 17.3 MB, free: 5.918 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7362/0.7362, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.391e-05, allocations: 6.219 kB / 0.5067 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002407/0.002445, allocations: 1.464 MB / 0.5081 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006657/0.003123, allocations: 431 kB / 0.5085 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.003168, allocations: 0 / 0.5085 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.003206, allocations: 11.92 kB / 0.5085 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.003289, allocations: 11.94 kB / 0.5086 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.003426, allocations: 19.92 kB / 0.5086 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.003523, allocations: 63.81 kB / 0.5086 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.003627, allocations: 12 kB / 0.5086 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.00368, allocations: 15.92 kB / 0.5087 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.00374, allocations: 23.92 kB / 0.5087 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.003774, allocations: 8 kB / 0.5087 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.003791, allocations: 4 kB / 0.5087 GB, free: 5.699 MB / 430.1 MB Notification: Performance of combineBinaries: time 6.57e-05/0.003861, allocations: 75.09 kB / 0.5088 GB, free: 5.625 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 1.913e-05/0.003887, allocations: 43.39 kB / 0.5088 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.003918, allocations: 12 kB / 0.5088 GB, free: 5.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.675e-05/0.003939, allocations: 0 / 0.5088 GB, free: 5.57 MB / 430.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.0003749/0.004318, allocations: 328.2 kB / 0.5091 GB, free: 5.148 MB / 430.1 MB Notification: Performance of FunctionAlias: time 2.111e-05/0.004344, allocations: 11.98 kB / 0.5091 GB, free: 5.137 MB / 430.1 MB Notification: Performance of Early Inline: time 0.000132/0.004481, allocations: 152.2 kB / 0.5093 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simplify1: time 1.545e-05/0.004502, allocations: 4 kB / 0.5093 GB, free: 4.957 MB / 430.1 MB Notification: Performance of Alias: time 0.0003765/0.004883, allocations: 249.7 kB / 0.5095 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simplify2: time 7.925e-06/0.004901, allocations: 19.84 kB / 0.5095 GB, free: 4.633 MB / 430.1 MB Notification: Performance of Events: time 5.985e-05/0.004966, allocations: 19.98 kB / 0.5096 GB, free: 4.613 MB / 430.1 MB Notification: Performance of Detect States: time 0.0001178/0.005089, allocations: 60.19 kB / 0.5096 GB, free: 4.539 MB / 430.1 MB Notification: Performance of Partitioning: time 5.158e-05/0.005148, allocations: 40.11 kB / 0.5097 GB, free: 4.492 MB / 430.1 MB Notification: Performance of Causalize: time 0.0001995/0.005353, allocations: 168 kB / 0.5098 GB, free: 4.32 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001023/0.005463, allocations: 128.2 kB / 0.5099 GB, free: 4.168 MB / 430.1 MB Notification: Performance of Inline: time 0.0001764/0.005646, allocations: 165.1 kB / 0.5101 GB, free: 3.973 MB / 430.1 MB Notification: Performance of Partitioning: time 1.439e-05/0.005669, allocations: 20.06 kB / 0.5101 GB, free: 3.945 MB / 430.1 MB Notification: Performance of Cleanup: time 1.39e-05/0.005687, allocations: 7.922 kB / 0.5101 GB, free: 3.938 MB / 430.1 MB Notification: Performance of Causalize: time 0.0002216/0.005913, allocations: 236.4 kB / 0.5104 GB, free: 3.699 MB / 430.1 MB Notification: Performance of Tearing: time 5.28e-06/0.005927, allocations: 0 / 0.5104 GB, free: 3.699 MB / 430.1 MB Notification: Performance of Initialization: time 3.21e-07/0.005933, allocations: 4 kB / 0.5104 GB, free: 3.695 MB / 430.1 MB Notification: Performance of Tearing: time 8.11e-07/0.005938, allocations: 0 / 0.5104 GB, free: 3.695 MB / 430.1 MB Notification: Performance of Categorize: time 6.843e-06/0.005949, allocations: 4.125 kB / 0.5104 GB, free: 3.691 MB / 430.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.54e-05/0.006048, allocations: 35.95 kB / 0.5104 GB, free: 3.656 MB / 430.1 MB Notification: Performance of Jacobian: time 3.316e-06/0.006058, allocations: 3.938 kB / 0.5104 GB, free: 3.652 MB / 430.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.869e-05/0.00609, allocations: 17.36 kB / 0.5104 GB, free: 3.637 MB / 430.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)