Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001206/0.001207, allocations: 107.7 kB / 16.38 MB, free: 6.441 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.001198/0.001198, allocations: 190.5 kB / 17.32 MB, free: 5.785 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.363/1.363, 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.721e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002858/0.002904, allocations: 1.488 MB / 0.6743 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007556/0.003672, allocations: 487.7 kB / 0.6748 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.003722, allocations: 0 / 0.6748 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.003761, allocations: 3.938 kB / 0.6748 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.488e-05/0.003852, allocations: 3.938 kB / 0.6748 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.004021, allocations: 27.91 kB / 0.6748 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.004113, allocations: 55.91 kB / 0.6748 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.004238, allocations: 19.97 kB / 0.6749 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.004291, allocations: 15.94 kB / 0.6749 GB, free: 3.824 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.004356, allocations: 23.91 kB / 0.6749 GB, free: 3.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.004378, allocations: 4 kB / 0.6749 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.004396, allocations: 8 kB / 0.6749 GB, free: 3.789 MB / 0.545 GB Notification: Performance of combineBinaries: time 7.107e-05/0.004472, allocations: 67.2 kB / 0.675 GB, free: 3.723 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.198e-05/0.004499, allocations: 43.36 kB / 0.675 GB, free: 3.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.00453, allocations: 11.94 kB / 0.675 GB, free: 3.668 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-05/0.004552, allocations: 4 kB / 0.675 GB, free: 3.664 MB / 0.545 GB 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.0003816/0.004938, allocations: 316.3 kB / 0.6753 GB, free: 3.254 MB / 0.545 GB Notification: Performance of FunctionAlias: time 2.08e-05/0.004966, allocations: 15.94 kB / 0.6753 GB, free: 3.238 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001346/0.005105, allocations: 144.3 kB / 0.6755 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simplify1: time 1.807e-05/0.005129, allocations: 7.984 kB / 0.6755 GB, free: 3.062 MB / 0.545 GB Notification: Performance of Alias: time 0.0004261/0.005559, allocations: 257.7 kB / 0.6757 GB, free: 2.75 MB / 0.545 GB Notification: Performance of simplify2: time 8.095e-06/0.005577, allocations: 7.984 kB / 0.6757 GB, free: 2.742 MB / 0.545 GB Notification: Performance of Events: time 7.076e-05/0.005652, allocations: 27.88 kB / 0.6758 GB, free: 2.715 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001164/0.005774, allocations: 63.31 kB / 0.6758 GB, free: 2.641 MB / 0.545 GB Notification: Performance of Partitioning: time 6.066e-05/0.005842, allocations: 40.11 kB / 0.6759 GB, free: 2.594 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002001/0.006048, allocations: 164.1 kB / 0.676 GB, free: 2.426 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.000106/0.006161, allocations: 132.2 kB / 0.6762 GB, free: 2.27 MB / 0.545 GB Notification: Performance of Inline: time 0.0001825/0.00635, allocations: 164.4 kB / 0.6763 GB, free: 2.074 MB / 0.545 GB Notification: Performance of Partitioning: time 1.94e-05/0.006378, allocations: 16.12 kB / 0.6763 GB, free: 2.051 MB / 0.545 GB Notification: Performance of Cleanup: time 1.465e-05/0.006398, allocations: 11.98 kB / 0.6763 GB, free: 2.039 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002366/0.006639, allocations: 244.3 kB / 0.6766 GB, free: 1.793 MB / 0.545 GB Notification: Performance of Tearing: time 5.04e-06/0.006652, allocations: 0 / 0.6766 GB, free: 1.793 MB / 0.545 GB Notification: Performance of Initialization: time 3.21e-07/0.006659, allocations: 3.938 kB / 0.6766 GB, free: 1.789 MB / 0.545 GB Notification: Performance of Tearing: time 7.52e-07/0.006664, allocations: 0 / 0.6766 GB, free: 1.789 MB / 0.545 GB Notification: Performance of Categorize: time 8.235e-06/0.006676, allocations: 4 kB / 0.6766 GB, free: 1.785 MB / 0.545 GB [/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.402e-05/0.006774, allocations: 31.95 kB / 0.6766 GB, free: 1.754 MB / 0.545 GB Notification: Performance of Jacobian: time 4.428e-06/0.006785, allocations: 0 / 0.6766 GB, free: 1.754 MB / 0.545 GB 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 3.376e-05/0.006823, allocations: 29.91 kB / 0.6766 GB, free: 1.734 MB / 0.545 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)