Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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) 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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001485, allocations: 108.4 kB / 16.38 MB, free: 6.387 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.001308/0.001308, allocations: 195.6 kB / 17.32 MB, free: 5.766 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.721/1.721, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.573e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02302/0.02306, allocations: 22.43 MB / 0.6948 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0243/0.04741, allocations: 17.74 MB / 0.7121 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.05076, allocations: 115.4 kB / 0.7122 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.009075/0.05985, allocations: 4.166 MB / 0.7163 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.07008, allocations: 3.513 MB / 0.7197 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.0732, allocations: 1.321 MB / 0.721 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008335/0.08154, allocations: 6.472 MB / 0.7273 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003995/0.08555, allocations: 3.071 MB / 0.7303 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.08974, allocations: 2.417 MB / 0.7327 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.09296, allocations: 2.229 MB / 0.7348 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007264/0.0937, allocations: 332 kB / 0.7352 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.09566, allocations: 0.9087 MB / 0.736 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.004426/0.1001, allocations: 6.164 MB / 0.7421 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.002465/0.1026, allocations: 3.762 MB / 0.7457 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.1037, allocations: 0.5725 MB / 0.7463 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 0.000504/0.1042, allocations: 91.69 kB / 0.7464 GB, free: 10.23 MB / 0.6231 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.0148/0.119, allocations: 17.13 MB / 0.7631 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.001678/0.1207, allocations: 1.622 MB / 0.7647 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.01133/0.132, allocations: 11.82 MB / 0.7762 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simplify1: time 0.001235/0.1333, allocations: 0.8388 MB / 0.7771 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of Alias: time 0.389/0.5223, allocations: 11.02 MB / 0.7878 GB, free: 90.43 MB / 0.6544 GB Notification: Performance of simplify2: time 0.001619/0.524, allocations: 0.7322 MB / 0.7885 GB, free: 90.43 MB / 0.6544 GB Notification: Performance of Events: time 0.003828/0.5278, allocations: 2.521 MB / 0.791 GB, free: 90.12 MB / 0.6544 GB Notification: Performance of Detect States: time 0.004173/0.532, allocations: 2.484 MB / 0.7934 GB, free: 89.98 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.006293/0.5383, allocations: 3.333 MB / 0.7967 GB, free: 89.31 MB / 0.6544 GB Notification: Performance of Causalize: time 0.0388/0.5771, allocations: 34.15 MB / 0.83 GB, free: 81.96 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.01521/0.5924, allocations: 9.384 MB / 0.8392 GB, free: 78.02 MB / 0.6544 GB Notification: Performance of Inline: time 0.03209/0.6245, allocations: 18.88 MB / 0.8576 GB, free: 67.36 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.001493/0.6261, allocations: 0.6541 MB / 0.8583 GB, free: 66.96 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.001836/0.6279, allocations: 0.7351 MB / 0.859 GB, free: 66.56 MB / 0.6544 GB Notification: Performance of Causalize: time 0.03684/0.6648, allocations: 44.82 MB / 0.9027 GB, free: 34.83 MB / 0.6544 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_13 then [----] [SCAL] (1) load9.terminal.i[1] + load9.P * (0.05 - (load9.terminal.v[1] - load9.terminal.v[2]) / 1600.0) = 0.0 ($RES_SIM_46) [----] elseif $SEV_14 then [----] [SCAL] (1) load9.terminal.i[1] + load9.P * (0.03333333333333333 - (load9.terminal.v[1] - load9.terminal.v[2]) / 3600.0) = 0.0 ($RES_SIM_47) [----] else [----] [SCAL] (1) load9.terminal.i[1] + load9.P * (0.04 - (load9.terminal.v[1] - load9.terminal.v[2]) / 2500.0) = 0.0 ($RES_SIM_48) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!