Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.001557/0.001557, allocations: 112.5 kB / 18.34 MB, free: 4.055 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.001566/0.001566, allocations: 189.9 kB / 21.51 MB, free: 0.8945 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.293/1.293, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 179] 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.787/2.787, allocations: 496.1 MB / 0.7826 GB, free: 33.63 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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.627e-05, allocations: 2.281 kB / 1.136 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004192/0.004208, allocations: 4.272 MB / 1.141 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.006094, allocations: 1.635 MB / 1.142 GB, free: 29.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.006217, allocations: 7.062 kB / 1.142 GB, free: 29.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.007529, allocations: 0.6059 MB / 1.143 GB, free: 29.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.007895, allocations: 235.5 kB / 1.143 GB, free: 29.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.008313, allocations: 217.6 kB / 1.143 GB, free: 29.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.008822, allocations: 0.6814 MB / 1.144 GB, free: 29.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.009268, allocations: 296.9 kB / 1.144 GB, free: 28.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.009489, allocations: 277 kB / 1.144 GB, free: 28.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.009806, allocations: 232.4 kB / 1.145 GB, free: 28.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.009862, allocations: 29.97 kB / 1.145 GB, free: 28.64 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.01009, allocations: 128 kB / 1.145 GB, free: 28.6 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004064/0.01049, allocations: 0.6178 MB / 1.145 GB, free: 28.21 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001768/0.01067, allocations: 350.6 kB / 1.146 GB, free: 27.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.01073, allocations: 50.69 kB / 1.146 GB, free: 27.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.206e-05/0.01077, allocations: 10.97 kB / 1.146 GB, free: 27.96 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 (69) * Number of variables: 90 (61) Notification: Performance of Bindings: time 0.001014/0.01179, allocations: 1.346 MB / 1.147 GB, free: 26.95 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 0.0001484/0.01193, allocations: 164.5 kB / 1.147 GB, free: 26.85 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.0006254/0.01256, allocations: 0.7884 MB / 1.148 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of Simplify 1: time 0.0001656/0.01272, allocations: 185.4 kB / 1.148 GB, free: 26.25 MB / 0.9044 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.001449/0.01417, allocations: 1.337 MB / 1.15 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of Simplify 2: time 0.0001258/0.0143, allocations: 146.1 kB / 1.15 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of Remove Stream: time 8.446e-05/0.01438, allocations: 117.8 kB / 1.15 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0001779/0.01456, allocations: 191.6 kB / 1.15 GB, free: 25.04 MB / 0.9044 GB Notification: Performance of Events: time 0.0001497/0.01471, allocations: 118.2 kB / 1.15 GB, free: 24.96 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0002749/0.01499, allocations: 297.3 kB / 1.15 GB, free: 24.79 MB / 0.9044 GB Notification: Performance of Causalize: time 0.001358/0.01635, allocations: 1.19 MB / 1.152 GB, free: 24.38 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.0003601/0.01671, allocations: 463.7 kB / 1.152 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of Simplify: time 0.0003344/0.01704, allocations: 320.8 kB / 1.152 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of Inline: time 0.0006208/0.01766, allocations: 0.7921 MB / 1.153 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of Partitioning: time 3.095e-05/0.01769, allocations: 32.02 kB / 1.153 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of Cleanup: time 0.0001564/0.01785, allocations: 234.8 kB / 1.153 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of Causalize: time 0.002929/0.02078, allocations: 2.49 MB / 1.156 GB, free: 22.54 MB / 0.9044 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_18) [----] if $SEV_0 then [----] [SCAL] (1) LinearLoad.i[1] + LinearLoad.P * (0.025 - 1.5625e-4 * (LinearLoad.v[1] - LinearLoad.v[2])) = 0.0 ($RES_SIM_19) [----] elseif $SEV_1 then [----] [SCAL] (1) LinearLoad.i[1] + LinearLoad.P * (0.016666666666666666 - 6.944444444444444e-5 * (LinearLoad.v[1] - LinearLoad.v[2])) = 0.0 ($RES_SIM_20) [----] else [----] [SCAL] (1) LinearLoad.i[1] + LinearLoad.P * (0.02 - 1e-4 * (LinearLoad.v[1] - LinearLoad.v[2])) = 0.0 ($RES_SIM_21) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.7849287912249565]