Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 112.7 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 190 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 225.6 MB / 250.1 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.586/2.586, allocations: 496.2 MB / 0.7826 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.408e-05, allocations: 4.953 kB / 1.137 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02605/0.02608, allocations: 23.48 MB / 1.159 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.05166, allocations: 18.12 MB / 1.177 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.05501, allocations: 111.4 kB / 1.177 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.06585, allocations: 4.332 MB / 1.181 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.07678, allocations: 3.575 MB / 1.185 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.08051, allocations: 1.329 MB / 1.186 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.09057, allocations: 6.773 MB / 1.193 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005432/0.096, allocations: 2.27 MB / 1.195 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007442/0.1034, allocations: 2.952 MB / 1.198 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005267/0.1087, allocations: 2.327 MB / 1.2 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.1102, allocations: 332 kB / 1.201 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.1136, allocations: 0.9398 MB / 1.202 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.009087/0.1227, allocations: 6.877 MB / 1.208 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.004216/0.1269, allocations: 3.887 MB / 1.212 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.1287, allocations: 0.5724 MB / 1.213 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 0.0008277/0.1296, allocations: 95.67 kB / 1.213 GB, free: 14.15 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 (516) * Number of variables: 635 (454) Notification: Performance of Bindings: time 0.01578/0.1453, allocations: 13.52 MB / 1.226 GB, free: 244 kB / 0.9981 GB Notification: Performance of FunctionAlias: time 0.002014/0.1474, allocations: 1.699 MB / 1.228 GB, free: 14.56 MB / 1.014 GB Notification: Performance of Early Inline: time 0.01027/0.1576, allocations: 9.219 MB / 1.237 GB, free: 5.238 MB / 1.014 GB Notification: Performance of Simplify 1: time 0.002549/0.1602, allocations: 1.502 MB / 1.238 GB, free: 3.641 MB / 1.014 GB Notification: Performance of Alias: time 0.01551/0.1757, allocations: 10.78 MB / 1.249 GB, free: 7.887 MB / 1.029 GB Notification: Performance of Simplify 2: time 0.002062/0.1778, allocations: 1.224 MB / 1.25 GB, free: 6.605 MB / 1.029 GB Notification: Performance of Remove Stream: time 0.001085/0.1788, allocations: 0.9971 MB / 1.251 GB, free: 5.543 MB / 1.029 GB Notification: Performance of Detect States: time 0.001675/0.1805, allocations: 1.652 MB / 1.252 GB, free: 3.848 MB / 1.029 GB Notification: Performance of Events: time 0.002369/0.1829, allocations: 1.834 MB / 1.254 GB, free: 1.969 MB / 1.029 GB Notification: Performance of Partitioning: time 0.003896/0.1868, allocations: 3.344 MB / 1.257 GB, free: 14.38 MB / 1.045 GB Notification: Performance of Causalize: time 0.01857/0.2053, allocations: 13.07 MB / 1.27 GB, free: 1.07 MB / 1.045 GB Notification: Performance of After Index Reduction Inline: time 0.006879/0.2122, allocations: 5.877 MB / 1.276 GB, free: 11.19 MB / 1.061 GB Notification: Performance of Simplify: time 0.008118/0.2203, allocations: 4.975 MB / 1.281 GB, free: 5.91 MB / 1.061 GB Notification: Performance of Inline: time 0.5818/0.8022, allocations: 10.95 MB / 1.291 GB, free: 113.9 MB / 1.061 GB Notification: Performance of Partitioning: time 0.0006965/0.8029, allocations: 209.3 kB / 1.292 GB, free: 113.8 MB / 1.061 GB Notification: Performance of Cleanup: time 0.00295/0.8058, allocations: 2.214 MB / 1.294 GB, free: 113.8 MB / 1.061 GB Notification: Performance of Causalize: time 0.02232/0.8281, allocations: 18.01 MB / 1.311 GB, free: 111.3 MB / 1.061 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_32) [----] if $SEV_43 then [----] [SCAL] (1) load10.i[1] + load10.P * (0.05 - 6.25e-4 * (load10.v[1] - load10.v[2])) = 0.0 ($RES_SIM_33) [----] elseif $SEV_44 then [----] [SCAL] (1) load10.i[1] + load10.P * (0.03333333333333333 - 2.777777777777778e-4 * (load10.v[1] - load10.v[2])) = 0.0 ($RES_SIM_34) [----] else [----] [SCAL] (1) load10.i[1] + load10.P * (0.04 - 4e-4 * (load10.v[1] - load10.v[2])) = 0.0 ($RES_SIM_35) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 6.350776730105281]