Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001156/0.001156, allocations: 105.6 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.001109/0.001109, allocations: 189.5 kB / 17.35 MB, free: 5.754 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.174/1.174, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 280.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8265/0.8265, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.319e-05, allocations: 2.281 kB / 0.682 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001897/0.001917, allocations: 1.468 MB / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005778/0.002507, allocations: 443.7 kB / 0.6838 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.002547, allocations: 0 / 0.6838 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.002575, allocations: 3.938 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.002642, allocations: 3.938 kB / 0.6839 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.002764, allocations: 31.89 kB / 0.6839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.728e-05/0.002859, allocations: 55.91 kB / 0.6839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.045e-05/0.002945, allocations: 11.98 kB / 0.6839 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.002993, allocations: 23.88 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.003044, allocations: 23.91 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.003064, allocations: 4 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.003078, allocations: 4 kB / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.076e-05/0.003143, allocations: 71.25 kB / 0.6841 GB, free: 4.867 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.974e-05/0.003168, allocations: 43.31 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.003192, allocations: 4 kB / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.634e-05/0.00322, allocations: 11.98 kB / 0.6841 GB, free: 4.809 MB / 494.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.0003236/0.003548, allocations: 316.3 kB / 0.6844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.002e-05/0.003574, allocations: 15.88 kB / 0.6844 GB, free: 4.383 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001325/0.003712, allocations: 148.3 kB / 0.6846 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simplify1: time 1.776e-05/0.003735, allocations: 11.98 kB / 0.6846 GB, free: 4.199 MB / 494.1 MB Notification: Performance of Alias: time 0.0003936/0.004133, allocations: 281.4 kB / 0.6849 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simplify2: time 6.713e-06/0.004149, allocations: 4 kB / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of Events: time 5.091e-05/0.004205, allocations: 19.98 kB / 0.6849 GB, free: 3.84 MB / 494.1 MB Notification: Performance of Detect States: time 9.663e-05/0.004307, allocations: 68.12 kB / 0.6849 GB, free: 3.758 MB / 494.1 MB Notification: Performance of Partitioning: time 4.814e-05/0.004362, allocations: 40.09 kB / 0.685 GB, free: 3.711 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001433/0.00451, allocations: 112 kB / 0.6851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001021/0.004625, allocations: 132.3 kB / 0.6852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of Inline: time 0.0001696/0.0048, allocations: 183.8 kB / 0.6854 GB, free: 3.227 MB / 494.1 MB Notification: Performance of Partitioning: time 1.465e-05/0.004823, allocations: 12.12 kB / 0.6854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of Cleanup: time 1.318e-05/0.00484, allocations: 11.92 kB / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001777/0.005022, allocations: 160 kB / 0.6856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of Tearing: time 3.817e-06/0.005035, allocations: 4 kB / 0.6856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of Initialization: time 2.91e-07/0.005039, allocations: 0 / 0.6856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of Tearing: time 7.62e-07/0.005044, allocations: 0 / 0.6856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of Categorize: time 4.899e-06/0.005053, allocations: 0 / 0.6856 GB, free: 3.027 MB / 494.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.083e-05/0.005147, allocations: 40.36 kB / 0.6856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of Jacobian: time 2.515e-06/0.005155, allocations: 0 / 0.6856 GB, free: 2.988 MB / 494.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.37e-05/0.005183, allocations: 15.2 kB / 0.6856 GB, free: 2.98 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)