Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.PhotovoltaicSystems.PhotovoltaicSystem.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.Applications.PhotovoltaicSystems.PhotovoltaicSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.PhotovoltaicSystems.PhotovoltaicSystem") translateModel(BuildingSystems.Applications.PhotovoltaicSystems.PhotovoltaicSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.PhotovoltaicSystems.PhotovoltaicSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.001266/0.001266, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 290.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9997/0.9997, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.363e-05/3.364e-05, allocations: 8.891 kB / 0.682 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.PhotovoltaicSystems.PhotovoltaicSystem): time 0.007083/0.007128, allocations: 4.587 MB / 0.6865 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4457/0.4529, allocations: 4.409 MB / 0.6908 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.454, allocations: 20.16 kB / 0.6908 GB, free: 12.48 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.02368/0.4777, allocations: 14.43 MB / 0.7049 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02013/0.4978, allocations: 14.76 MB / 0.7193 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.5006, allocations: 496.8 kB / 0.7198 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01672/0.5173, allocations: 7.364 MB / 0.727 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.518, allocations: 221.1 kB / 0.7272 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.5319, allocations: 5.77 MB / 0.7328 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01588/0.5478, allocations: 9.039 MB / 0.7416 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006467/0.5486, allocations: 76 kB / 0.7417 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.5508, allocations: 0.6113 MB / 0.7423 GB, free: 436 kB / 0.4981 GB Notification: Performance of combineBinaries: time 0.004241/0.5551, allocations: 3.556 MB / 0.7458 GB, free: 13 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001229/0.5563, allocations: 1.248 MB / 0.747 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.5568, allocations: 124.3 kB / 0.7471 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.000373/0.5571, allocations: 42.44 kB / 0.7472 GB, free: 11.65 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 (143) * Number of variables: 153 (147) Notification: Performance of Bindings: time 0.005251/0.5624, allocations: 4.749 MB / 0.7518 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0008554/0.5633, allocations: 0.587 MB / 0.7524 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003057/0.5663, allocations: 2.871 MB / 0.7552 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0002925/0.5666, allocations: 235.7 kB / 0.7554 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of Alias: time 0.007175/0.5738, allocations: 4.447 MB / 0.7597 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0004411/0.5743, allocations: 203.8 kB / 0.7599 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0007466/0.575, allocations: 0.5499 MB / 0.7605 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Events: time 0.0005468/0.5756, allocations: 393.5 kB / 0.7608 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0008366/0.5764, allocations: 0.6947 MB / 0.7615 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of Causalize: time 0.003731/0.5802, allocations: 3.149 MB / 0.7646 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.00203/0.5822, allocations: 1.897 MB / 0.7665 GB, free: 7.238 MB / 0.5294 GB Error: Internal error NBInitialization.main failed to apply modules!