Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 111.9 kB / 16.42 MB, free: 6.52 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.001352/0.001353, allocations: 183.1 kB / 17.35 MB, free: 5.723 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.513/1.513, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002271/0.002271, allocations: 290.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.493e-05, allocations: 4.391 kB / 0.682 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.006329/0.006374, allocations: 3.789 MB / 0.6857 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4639/0.4703, allocations: 3.444 MB / 0.6891 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.4715, allocations: 11.47 kB / 0.6891 GB, free: 12.52 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001047/0.4725, allocations: 118.8 kB / 0.6892 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.4753, allocations: 469.2 kB / 0.6896 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.4769, allocations: 372.8 kB / 0.69 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.4787, allocations: 0.8153 MB / 0.6908 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.4792, allocations: 205 kB / 0.691 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007422/0.48, allocations: 317 kB / 0.6913 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.4808, allocations: 321.3 kB / 0.6916 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.481, allocations: 61.97 kB / 0.6916 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.4829, allocations: 0.5093 MB / 0.6921 GB, free: 12.34 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.00109/0.484, allocations: 0.9783 MB / 0.6931 GB, free: 11.83 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.000486/0.4845, allocations: 0.5902 MB / 0.6937 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.4847, allocations: 93.84 kB / 0.6938 GB, free: 11.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0002338/0.4849, allocations: 28.44 kB / 0.6938 GB, free: 11.39 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 (114) * Number of variables: 120 (114) Notification: Performance of Bindings: time 0.004254/0.4892, allocations: 2.962 MB / 0.6967 GB, free: 9.914 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0007156/0.4899, allocations: 398.2 kB / 0.6971 GB, free: 9.68 MB / 494.1 MB Notification: Performance of Early Inline: time 0.003719/0.4936, allocations: 2.455 MB / 0.6995 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simplify1: time 0.0004735/0.4941, allocations: 209.7 kB / 0.6997 GB, free: 8.227 MB / 494.1 MB Notification: Performance of Alias: time 0.006007/0.5001, allocations: 3.331 MB / 0.7029 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simplify2: time 0.000448/0.5006, allocations: 169 kB / 0.7031 GB, free: 6.109 MB / 494.1 MB Notification: Performance of Detect States: time 0.0007429/0.5013, allocations: 417.4 kB / 0.7035 GB, free: 5.871 MB / 494.1 MB Notification: Performance of Events: time 0.0006944/0.5021, allocations: 363.2 kB / 0.7038 GB, free: 5.688 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0009144/0.503, allocations: 0.5951 MB / 0.7044 GB, free: 5.371 MB / 494.1 MB Notification: Performance of Causalize: time 0.004582/0.5076, allocations: 2.708 MB / 0.7071 GB, free: 4.383 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.002517/0.5101, allocations: 1.642 MB / 0.7087 GB, free: 3.434 MB / 494.1 MB Error: Internal error NBInitialization.main failed to apply modules!