Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001035/0.001035, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.0008688/0.0008688, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.111/1.111, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6587/0.6587, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.005e-05, allocations: 8.609 kB / 0.5819 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001433/0.00145, allocations: 1.442 MB / 0.5833 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004457/0.001906, allocations: 449.8 kB / 0.5838 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.001944, allocations: 2.281 kB / 0.5838 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.001972, allocations: 5.281 kB / 0.5838 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.002029, allocations: 3.938 kB / 0.5838 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.002142, allocations: 36.39 kB / 0.5838 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.872e-05/0.002218, allocations: 52.91 kB / 0.5839 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.867e-05/0.002301, allocations: 11.94 kB / 0.5839 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.002344, allocations: 23.55 kB / 0.5839 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.002391, allocations: 25.47 kB / 0.5839 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.002412, allocations: 4.062 kB / 0.5839 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.002426, allocations: 6.281 kB / 0.5839 GB, free: 22.15 MB / 446.1 MB Notification: Performance of combineBinaries: time 4.966e-05/0.002479, allocations: 69.31 kB / 0.584 GB, free: 22.1 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.354e-05/0.002497, allocations: 43.91 kB / 0.584 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.00252, allocations: 4.375 kB / 0.584 GB, free: 22.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.535e-05/0.002539, allocations: 5.25 kB / 0.584 GB, free: 22.07 MB / 446.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.0002486/0.002793, allocations: 322.7 kB / 0.5843 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FunctionAlias: time 1.68e-05/0.002815, allocations: 21.58 kB / 0.5844 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Early Inline: time 8.012e-05/0.002899, allocations: 136.6 kB / 0.5845 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simplify1: time 1.285e-05/0.002917, allocations: 10.95 kB / 0.5845 GB, free: 21.57 MB / 446.1 MB Notification: Performance of Alias: time 0.0003024/0.003224, allocations: 286.1 kB / 0.5848 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simplify2: time 5.591e-06/0.003239, allocations: 1.75 kB / 0.5848 GB, free: 21.34 MB / 446.1 MB Notification: Performance of Events: time 4.523e-05/0.003289, allocations: 21.41 kB / 0.5848 GB, free: 21.32 MB / 446.1 MB Notification: Performance of Detect States: time 7.556e-05/0.003369, allocations: 69.97 kB / 0.5849 GB, free: 21.25 MB / 446.1 MB Notification: Performance of Partitioning: time 3.936e-05/0.003415, allocations: 40.59 kB / 0.5849 GB, free: 21.22 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001209/0.00354, allocations: 113 kB / 0.585 GB, free: 21.17 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 6.532e-05/0.003612, allocations: 122.5 kB / 0.5851 GB, free: 21.05 MB / 446.1 MB Notification: Performance of Inline: time 0.0001181/0.003735, allocations: 175.9 kB / 0.5853 GB, free: 20.89 MB / 446.1 MB Notification: Performance of Partitioning: time 1.1e-05/0.003753, allocations: 16.91 kB / 0.5853 GB, free: 20.88 MB / 446.1 MB Notification: Performance of Cleanup: time 1.001e-05/0.003768, allocations: 11.58 kB / 0.5853 GB, free: 20.87 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001557/0.003927, allocations: 175.5 kB / 0.5855 GB, free: 20.78 MB / 446.1 MB Notification: Performance of Tearing: time 3.356e-06/0.003938, allocations: 480 / 0.5855 GB, free: 20.78 MB / 446.1 MB Notification: Performance of Initialization: time 2.61e-07/0.003944, allocations: 1.406 kB / 0.5855 GB, free: 20.78 MB / 446.1 MB Notification: Performance of Tearing: time 7.31e-07/0.003949, allocations: 0.5625 kB / 0.5855 GB, free: 20.78 MB / 446.1 MB Notification: Performance of Categorize: time 5.721e-06/0.003958, allocations: 5.062 kB / 0.5855 GB, free: 20.77 MB / 446.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 7.054e-05/0.004033, allocations: 34.17 kB / 0.5855 GB, free: 20.76 MB / 446.1 MB Notification: Performance of Jacobian: time 2.525e-06/0.004041, allocations: 1.156 kB / 0.5855 GB, free: 20.76 MB / 446.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 1.958e-05/0.004065, allocations: 25.5 kB / 0.5856 GB, free: 20.74 MB / 446.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)