Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 107.6 kB / 16.42 MB, free: 6.477 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.707 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.147/1.147, allocations: 222.9 MB / 241 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.001879/0.001879, allocations: 293.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.817/0.817, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.303e-05, allocations: 6.219 kB / 0.682 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001872/0.001893, allocations: 1.475 MB / 0.6834 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005725/0.002476, allocations: 435.7 kB / 0.6839 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.002523, allocations: 4 kB / 0.6839 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.002554, allocations: 7.922 kB / 0.6839 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.002621, allocations: 7.938 kB / 0.6839 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.002747, allocations: 27.91 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.002833, allocations: 51.89 kB / 0.684 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.002923, allocations: 15.98 kB / 0.684 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.002982, allocations: 23.86 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.003033, allocations: 23.92 kB / 0.684 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.003055, allocations: 4 kB / 0.684 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.003069, allocations: 7.938 kB / 0.684 GB, free: 4.98 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.429e-05/0.003137, allocations: 71.3 kB / 0.6841 GB, free: 4.91 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.962e-05/0.003161, allocations: 43.31 kB / 0.6841 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.003189, allocations: 12 kB / 0.6842 GB, free: 4.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.551e-05/0.003209, allocations: 0 / 0.6842 GB, free: 4.855 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.0003406/0.003554, allocations: 328.2 kB / 0.6845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.533e-05/0.003574, allocations: 7.953 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001264/0.003705, allocations: 144.3 kB / 0.6846 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simplify1: time 1.694e-05/0.003727, allocations: 11.98 kB / 0.6846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of Alias: time 0.0003876/0.004119, allocations: 273.4 kB / 0.6849 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simplify2: time 6.653e-06/0.004136, allocations: 7.984 kB / 0.6849 GB, free: 3.91 MB / 494.1 MB Notification: Performance of Events: time 6.554e-05/0.004206, allocations: 31.95 kB / 0.6849 GB, free: 3.879 MB / 494.1 MB Notification: Performance of Detect States: time 9.57e-05/0.004308, allocations: 54.55 kB / 0.685 GB, free: 3.812 MB / 494.1 MB Notification: Performance of Partitioning: time 4.906e-05/0.004364, allocations: 36.11 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001532/0.004522, allocations: 131.9 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 9.217e-05/0.004622, allocations: 120.3 kB / 0.6852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of Inline: time 0.0001666/0.004795, allocations: 178.4 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of Partitioning: time 1.634e-05/0.004819, allocations: 20.11 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Cleanup: time 1.207e-05/0.004835, allocations: 7.922 kB / 0.6854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001841/0.005024, allocations: 168.4 kB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of Tearing: time 3.636e-06/0.005036, allocations: 0 / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of Initialization: time 2.71e-07/0.005041, allocations: 0 / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of Tearing: time 7.31e-07/0.005045, allocations: 0 / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of Categorize: time 7.254e-06/0.005056, allocations: 4 kB / 0.6856 GB, free: 3.07 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 8.077e-05/0.00514, allocations: 35.91 kB / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of Jacobian: time 5.149e-06/0.005151, allocations: 3.984 kB / 0.6856 GB, free: 3.031 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.235e-05/0.005177, allocations: 14.33 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)