Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 110.5 kB / 16.42 MB, free: 6.473 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.001819/0.001819, allocations: 188.9 kB / 17.35 MB, free: 5.703 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.555/1.555, allocations: 222.9 MB / 241 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.002489/0.002489, allocations: 291.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.034/1.034, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.227e-05/4.188e-05, allocations: 5.094 kB / 0.682 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.00963/0.009686, allocations: 3.703 MB / 0.6856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5678/0.5775, allocations: 3.437 MB / 0.689 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.5783, allocations: 8.344 kB / 0.689 GB, free: 13.1 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.0007445/0.579, allocations: 119.7 kB / 0.6891 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.581, allocations: 462 kB / 0.6895 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.5823, allocations: 377.4 kB / 0.6899 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.5837, allocations: 0.796 MB / 0.6907 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.5841, allocations: 201.5 kB / 0.6909 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.5846, allocations: 309.7 kB / 0.6912 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.5852, allocations: 310.8 kB / 0.6915 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.5853, allocations: 61.56 kB / 0.6915 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.5867, allocations: 0.5084 MB / 0.692 GB, free: 12.94 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0008395/0.5875, allocations: 0.9436 MB / 0.6929 GB, free: 12.45 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003688/0.5879, allocations: 0.5611 MB / 0.6935 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.5881, allocations: 94.69 kB / 0.6936 GB, free: 12.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001495/0.5882, allocations: 26.72 kB / 0.6936 GB, free: 12.04 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: 119 (113) * Number of variables: 119 (113) Notification: Performance of Bindings: time 0.00301/0.5912, allocations: 2.868 MB / 0.6964 GB, free: 10.36 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0006802/0.5919, allocations: 437.8 kB / 0.6968 GB, free: 10.1 MB / 494.1 MB Notification: Performance of Early Inline: time 0.002958/0.5949, allocations: 2.382 MB / 0.6991 GB, free: 8.746 MB / 494.1 MB Notification: Performance of simplify1: time 0.0003138/0.5952, allocations: 198.3 kB / 0.6993 GB, free: 8.684 MB / 494.1 MB Notification: Performance of Alias: time 0.004935/0.6002, allocations: 3.305 MB / 0.7026 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simplify2: time 0.0003121/0.6005, allocations: 179.4 kB / 0.7027 GB, free: 6.59 MB / 494.1 MB Notification: Performance of Detect States: time 0.0005247/0.601, allocations: 390.7 kB / 0.7031 GB, free: 6.367 MB / 494.1 MB Notification: Performance of Events: time 0.0004942/0.6015, allocations: 336.2 kB / 0.7034 GB, free: 6.195 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0007298/0.6023, allocations: 0.5646 MB / 0.704 GB, free: 5.891 MB / 494.1 MB Notification: Performance of Causalize: time 0.003851/0.6061, allocations: 2.593 MB / 0.7065 GB, free: 4.945 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.002027/0.6081, allocations: 1.56 MB / 0.708 GB, free: 4.043 MB / 494.1 MB Error: Internal error NBInitialization.main failed to apply modules!