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.00124/0.00124, allocations: 109.2 kB / 16.42 MB, free: 6.496 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.001274/0.001274, allocations: 188.2 kB / 17.36 MB, free: 5.754 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.571/1.571, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002252/0.002252, allocations: 281.4 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.053/1.053, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.689e-05, allocations: 2.281 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.009495/0.009544, allocations: 3.705 MB / 0.6856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5334/0.543, allocations: 3.434 MB / 0.689 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009157/0.544, allocations: 9.312 kB / 0.689 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.0008236/0.5448, allocations: 121.6 kB / 0.6891 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.5469, allocations: 462.2 kB / 0.6895 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.5481, allocations: 370.2 kB / 0.6899 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.5493, allocations: 0.7959 MB / 0.6907 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.5498, allocations: 204.4 kB / 0.6909 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.5503, allocations: 308.8 kB / 0.6912 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.5509, allocations: 315.9 kB / 0.6915 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.551, allocations: 63.91 kB / 0.6915 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.5525, allocations: 0.5086 MB / 0.692 GB, free: 12.36 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.000899/0.5534, allocations: 0.9421 MB / 0.6929 GB, free: 11.88 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003682/0.5538, allocations: 0.5619 MB / 0.6935 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.5539, allocations: 91.84 kB / 0.6936 GB, free: 11.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001692/0.5541, allocations: 23.16 kB / 0.6936 GB, free: 11.46 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.00401/0.5581, allocations: 2.868 MB / 0.6964 GB, free: 10.06 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0007921/0.5589, allocations: 435.2 kB / 0.6968 GB, free: 9.812 MB / 494.1 MB Notification: Performance of Early Inline: time 0.003187/0.5621, allocations: 2.386 MB / 0.6991 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simplify1: time 0.0003451/0.5625, allocations: 201.9 kB / 0.6993 GB, free: 8.391 MB / 494.1 MB Notification: Performance of Alias: time 0.005301/0.5678, allocations: 3.307 MB / 0.7026 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simplify2: time 0.0003705/0.5682, allocations: 169.2 kB / 0.7027 GB, free: 6.301 MB / 494.1 MB Notification: Performance of Events: time 0.0006036/0.5688, allocations: 337.6 kB / 0.703 GB, free: 6.129 MB / 494.1 MB Notification: Performance of Detect States: time 0.0008433/0.5696, allocations: 461.3 kB / 0.7035 GB, free: 5.867 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0009609/0.5706, allocations: 0.5708 MB / 0.704 GB, free: 5.555 MB / 494.1 MB Notification: Performance of Causalize: time 0.004909/0.5755, allocations: 2.587 MB / 0.7066 GB, free: 4.609 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.00248/0.578, allocations: 1.568 MB / 0.7081 GB, free: 3.699 MB / 494.1 MB Error: Internal error NBInitialization.main failed to apply modules!