Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001167/0.001167, allocations: 111.8 kB / 17.1 MB, free: 5.836 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.001088/0.001088, allocations: 190.1 kB / 18.03 MB, free: 4.953 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.462/1.462, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7994/0.7994, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.703e-05, allocations: 2.281 kB / 0.5582 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002726/0.002761, allocations: 1.463 MB / 0.5597 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007661/0.003542, allocations: 438.1 kB / 0.5601 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.003597, allocations: 0 / 0.5601 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.00364, allocations: 5.125 kB / 0.5601 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.003733, allocations: 6.562 kB / 0.5601 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.003924, allocations: 29.06 kB / 0.5601 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.004042, allocations: 60.28 kB / 0.5602 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.004181, allocations: 12.42 kB / 0.5602 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.078e-05/0.004248, allocations: 18.88 kB / 0.5602 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.004318, allocations: 24.44 kB / 0.5602 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.004344, allocations: 3.688 kB / 0.5602 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.004364, allocations: 5.312 kB / 0.5603 GB, free: 30.89 MB / 446.1 MB Notification: Performance of combineBinaries: time 8.681e-05/0.004456, allocations: 75.41 kB / 0.5603 GB, free: 30.84 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.389e-05/0.004486, allocations: 40.12 kB / 0.5604 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.004523, allocations: 9.375 kB / 0.5604 GB, free: 30.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.05e-05/0.004549, allocations: 2.156 kB / 0.5604 GB, free: 30.81 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.000428/0.004981, allocations: 328 kB / 0.5607 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FunctionAlias: time 2.33e-05/0.005011, allocations: 6.453 kB / 0.5607 GB, free: 30.48 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001549/0.005171, allocations: 148.3 kB / 0.5608 GB, free: 30.37 MB / 446.1 MB Notification: Performance of simplify1: time 2.347e-05/0.0052, allocations: 10.08 kB / 0.5608 GB, free: 30.37 MB / 446.1 MB Notification: Performance of Alias: time 0.0005536/0.00576, allocations: 279.2 kB / 0.5611 GB, free: 30.17 MB / 446.1 MB Notification: Performance of simplify2: time 1.184e-05/0.005782, allocations: 8.25 kB / 0.5611 GB, free: 30.17 MB / 446.1 MB Notification: Performance of Events: time 8.084e-05/0.005869, allocations: 25.83 kB / 0.5611 GB, free: 30.16 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001638/0.006039, allocations: 65.98 kB / 0.5612 GB, free: 30.1 MB / 446.1 MB Notification: Performance of Partitioning: time 6.438e-05/0.006112, allocations: 36.14 kB / 0.5612 GB, free: 30.07 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001938/0.006311, allocations: 125.7 kB / 0.5614 GB, free: 30.02 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001056/0.006425, allocations: 128.7 kB / 0.5615 GB, free: 29.92 MB / 446.1 MB Notification: Performance of Inline: time 0.000201/0.006632, allocations: 163.9 kB / 0.5616 GB, free: 29.8 MB / 446.1 MB Notification: Performance of Partitioning: time 1.461e-05/0.006654, allocations: 10.56 kB / 0.5617 GB, free: 29.78 MB / 446.1 MB Notification: Performance of Cleanup: time 1.941e-05/0.00668, allocations: 17.62 kB / 0.5617 GB, free: 29.77 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002603/0.006946, allocations: 180.4 kB / 0.5618 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Tearing: time 1.058e-05/0.006967, allocations: 0.75 kB / 0.5618 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Initialization: time 3.91e-07/0.006972, allocations: 0 / 0.5618 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Tearing: time 9.12e-07/0.00698, allocations: 3.938 kB / 0.5618 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Categorize: time 8.576e-06/0.006994, allocations: 1.312 kB / 0.5618 GB, free: 29.69 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 0.0001033/0.007102, allocations: 33.62 kB / 0.5619 GB, free: 29.68 MB / 446.1 MB Notification: Performance of Jacobian: time 4.027e-06/0.007112, allocations: 0 / 0.5619 GB, free: 29.68 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 4.293e-05/0.00716, allocations: 29.7 kB / 0.5619 GB, free: 29.66 MB / 446.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)