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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_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.001129/0.001128, allocations: 109.4 kB / 16.42 MB, free: 6.469 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.00107/0.00107, allocations: 192.3 kB / 17.36 MB, free: 5.699 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.148/1.148, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.188/2.188, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.089e-05, allocations: 2.281 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02058/0.02061, allocations: 22.62 MB / 1.077 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4091/0.4297, allocations: 17.63 MB / 1.094 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.4318, allocations: 116 kB / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00812/0.4399, allocations: 4.18 MB / 1.098 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009318/0.4493, allocations: 3.506 MB / 1.102 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.4524, allocations: 1.318 MB / 1.103 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007353/0.4597, allocations: 6.474 MB / 1.109 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004178/0.4639, allocations: 3.063 MB / 1.112 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.4686, allocations: 2.506 MB / 1.115 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004577/0.4731, allocations: 2.222 MB / 1.117 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.4743, allocations: 331.4 kB / 1.117 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.4776, allocations: 0.9078 MB / 1.118 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.005758/0.4833, allocations: 6.161 MB / 1.124 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.002891/0.4862, allocations: 3.759 MB / 1.128 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.4874, allocations: 0.575 MB / 1.128 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 0.0006125/0.488, allocations: 95.5 kB / 1.128 GB, free: 8.34 MB / 0.8575 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.0158/0.5038, allocations: 17.15 MB / 1.145 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.001528/0.5054, allocations: 1.587 MB / 1.147 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.01127/0.5167, allocations: 11.83 MB / 1.158 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of simplify1: time 0.001152/0.5178, allocations: 0.8356 MB / 1.159 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of Alias: time 0.01295/0.5308, allocations: 11.96 MB / 1.171 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of simplify2: time 0.001044/0.5319, allocations: 0.7321 MB / 1.171 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of Events: time 0.002346/0.5342, allocations: 2.534 MB / 1.174 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of Detect States: time 0.001948/0.5362, allocations: 2.478 MB / 1.176 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.003207/0.5394, allocations: 3.348 MB / 1.18 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of Causalize: time 0.02163/0.5611, allocations: 21.06 MB / 1.2 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.008439/0.5695, allocations: 9.388 MB / 1.209 GB, free: 7.031 MB / 0.92 GB Notification: Performance of Inline: time 0.0177/0.5872, allocations: 19.2 MB / 1.228 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0009579/0.5882, allocations: 0.6351 MB / 1.229 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of Cleanup: time 0.0008961/0.5891, allocations: 0.7334 MB / 1.229 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of Causalize: time 0.03088/0.62, allocations: 28.79 MB / 1.258 GB, free: 5.602 MB / 0.9669 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_5 then [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.05 - (load10.terminal.v[1] - load10.terminal.v[2]) / 1600.0) = 0.0 ($RES_SIM_33) [----] elseif $SEV_6 then [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.03333333333333333 - (load10.terminal.v[1] - load10.terminal.v[2]) / 3600.0) = 0.0 ($RES_SIM_34) [----] else [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.04 - (load10.terminal.v[1] - load10.terminal.v[2]) / 2500.0) = 0.0 ($RES_SIM_35) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!