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.001707/0.001707, allocations: 107.3 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.001734/0.001734, allocations: 188.3 kB / 17.35 MB, free: 5.727 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.069/1.069, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 298.5 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.7895/0.7895, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.878e-06/9.878e-06, allocations: 2.281 kB / 0.682 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.PhotovoltaicSystems.PhotovoltaicSystem): time 0.004399/0.004416, allocations: 4.587 MB / 0.6865 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2068/0.2113, allocations: 4.403 MB / 0.6908 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/0.2121, allocations: 19.44 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.01284/0.2249, allocations: 14.43 MB / 0.7049 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.2356, allocations: 14.75 MB / 0.7193 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.2367, allocations: 496.7 kB / 0.7198 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006885/0.2436, allocations: 7.366 MB / 0.7269 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.2439, allocations: 226.7 kB / 0.7272 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.248, allocations: 5.766 MB / 0.7328 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007128/0.2552, allocations: 9.046 MB / 0.7416 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.2555, allocations: 72 kB / 0.7417 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2567, allocations: 0.6073 MB / 0.7423 GB, free: 436 kB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002871/0.2596, allocations: 3.566 MB / 0.7458 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0007612/0.2604, allocations: 1.234 MB / 0.747 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.2606, allocations: 130 kB / 0.7471 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0001318/0.2607, allocations: 43.67 kB / 0.7471 GB, free: 11.64 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.003591/0.2643, allocations: 4.743 MB / 0.7518 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0005856/0.2649, allocations: 0.5876 MB / 0.7523 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.002287/0.2672, allocations: 2.872 MB / 0.7552 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0001982/0.2674, allocations: 239.7 kB / 0.7554 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of Alias: time 0.003868/0.2713, allocations: 4.438 MB / 0.7597 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0001838/0.2715, allocations: 195.8 kB / 0.7599 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of Events: time 0.0003954/0.2719, allocations: 393.5 kB / 0.7603 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0005234/0.2724, allocations: 0.6351 MB / 0.7609 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0006028/0.273, allocations: 0.6987 MB / 0.7616 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of Causalize: time 0.002999/0.276, allocations: 3.142 MB / 0.7646 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.001449/0.2775, allocations: 1.905 MB / 0.7665 GB, free: 7.145 MB / 0.5294 GB Error: Internal error NBInitialization.main failed to apply modules!