Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 114.5 kB / 16.43 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.001197/0.001197, allocations: 186.1 kB / 17.35 MB, free: 5.703 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.288/2.288, allocations: 469.8 MB / 0.7432 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.019e-05, allocations: 2.281 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6372/0.6373, allocations: 176.2 MB / 1.238 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.6557, allocations: 15.66 MB / 1.253 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.6575, allocations: 31.81 kB / 1.253 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.6592, allocations: 0.6362 MB / 1.254 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00423/0.6634, allocations: 1.604 MB / 1.255 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.6673, allocations: 1.692 MB / 1.257 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.6713, allocations: 3.049 MB / 1.26 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.6737, allocations: 1.459 MB / 1.261 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.6773, allocations: 1.439 MB / 1.263 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.6783, allocations: 1.007 MB / 1.264 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002388/0.6786, allocations: 184 kB / 1.264 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.6811, allocations: 1.279 MB / 1.265 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.002148/0.6833, allocations: 3.074 MB / 1.268 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.001165/0.6844, allocations: 1.926 MB / 1.27 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.6849, allocations: 335 kB / 1.27 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0004933/0.6854, allocations: 79.5 kB / 1.27 GB, free: 6.047 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 (371) * Number of variables: 410 (365) Notification: Performance of Bindings: time 0.005918/0.6913, allocations: 6.643 MB / 1.277 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of FunctionAlias: time 0.0005591/0.6919, allocations: 0.5036 MB / 1.277 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of Early Inline: time 0.003342/0.6952, allocations: 3.488 MB / 1.281 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simplify1: time 0.0006833/0.6959, allocations: 0.5487 MB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Alias: time 0.007195/0.7031, allocations: 5.935 MB / 1.287 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simplify2: time 0.0004465/0.7036, allocations: 363.2 kB / 1.288 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of Detect States: time 0.0006577/0.7042, allocations: 0.5938 MB / 1.288 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of Events: time 0.0005877/0.7048, allocations: 484.7 kB / 1.289 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of Partitioning: time 0.0009056/0.7058, allocations: 0.8926 MB / 1.289 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of Causalize: time 0.004725/0.7105, allocations: 4.263 MB / 1.294 GB, free: 13.01 MB / 1.014 GB Notification: Performance of After Index Reduction Inline: time 0.00191/0.7124, allocations: 1.855 MB / 1.295 GB, free: 11.11 MB / 1.014 GB Notification: Performance of Inline: time 0.007546/0.72, allocations: 5.142 MB / 1.3 GB, free: 5.91 MB / 1.014 GB Notification: Performance of Partitioning: time 0.0001973/0.7202, allocations: 100.9 kB / 1.301 GB, free: 5.781 MB / 1.014 GB Notification: Performance of Cleanup: time 0.000701/0.7209, allocations: 0.8153 MB / 1.301 GB, free: 4.965 MB / 1.014 GB Notification: Performance of Causalize: time 0.007448/0.7283, allocations: 6.28 MB / 1.307 GB, free: 14.6 MB / 1.029 GB Notification: Performance of Tearing: time 0.0004286/0.7288, allocations: 422 kB / 1.308 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Initialization: time 1.032e-06/0.7288, allocations: 0 / 1.308 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Tearing: time 0.0003547/0.7291, allocations: 434 kB / 1.308 GB, free: 13.67 MB / 1.029 GB Notification: Performance of Categorize: time 4.313e-05/0.7292, allocations: 11.94 kB / 1.308 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Solve: time 0.001568/0.7308, allocations: 0.9337 MB / 1.309 GB, free: 12.7 MB / 1.029 GB Notification: Performance of Jacobian: time 0.001721/0.7325, allocations: 1.532 MB / 1.311 GB, free: 11.12 MB / 1.029 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 21 * 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: ............................. 2 (2) {ori1.mExc, ori2.mExc} * Number of discrete states: .................... 5 (5) {weaDat.decAng.tNext, weaDat.eqnTim.tNext, weaDat.conTim.tNext, weaDat.conTimMin.tNext, weaDat.locTim.tNext} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 37 (37) {$SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 170 (scalar:161, array:9, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, if:0, tuple:2) * Number of for-loop strong components: ......... 7 (generic: 7, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 275 (scalar:263, array:10, record:2) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 7 (generic: 7, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001058/0.7326, allocations: 97.28 kB / 1.311 GB, free: 11.03 MB / 1.029 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_35)