Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 105.8 kB / 16.42 MB, free: 6.512 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.001146/0.001146, allocations: 192.2 kB / 17.35 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.435/1.435, 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.002183/0.002183, allocations: 287.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9809/0.9809, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.007e-05, allocations: 4.812 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00618/0.006221, allocations: 4.284 MB / 0.6862 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6161/0.6223, allocations: 150.5 MB / 0.8332 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.6238, allocations: 11.94 kB / 0.8332 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008224/0.6247, allocations: 173.5 kB / 0.8334 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.627, allocations: 0.4982 MB / 0.8339 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.6294, allocations: 0.8186 MB / 0.8347 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.6309, allocations: 1.252 MB / 0.8359 GB, free: 304 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.632, allocations: 0.6314 MB / 0.8365 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.6327, allocations: 430.4 kB / 0.8369 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.6332, allocations: 441.9 kB / 0.8373 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.6334, allocations: 100 kB / 0.8374 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.6345, allocations: 467.6 kB / 0.8379 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001164/0.6357, allocations: 1.488 MB / 0.8393 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0006452/0.6364, allocations: 0.9142 MB / 0.8402 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.6366, allocations: 163.4 kB / 0.8404 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0003252/0.6369, allocations: 51.56 kB / 0.8404 GB, free: 11.59 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 (181) * Number of variables: 208 (181) Notification: Performance of Bindings: time 0.004091/0.641, allocations: 4.226 MB / 0.8446 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.000486/0.6415, allocations: 406.4 kB / 0.8449 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.002407/0.644, allocations: 2.408 MB / 0.8473 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0002164/0.6442, allocations: 174 kB / 0.8475 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of Alias: time 0.005281/0.6495, allocations: 4.387 MB / 0.8517 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0001696/0.6497, allocations: 95.89 kB / 0.8518 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of Events: time 0.000409/0.6501, allocations: 295.3 kB / 0.8521 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0005575/0.6507, allocations: 461.9 kB / 0.8526 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0006863/0.6514, allocations: 0.5917 MB / 0.8531 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of Causalize: time 0.003477/0.6548, allocations: 3.327 MB / 0.8564 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.001423/0.6563, allocations: 1.314 MB / 0.8577 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of Inline: time 0.003694/0.66, allocations: 3.131 MB / 0.8607 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0001886/0.6602, allocations: 147.6 kB / 0.8609 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of Cleanup: time 0.0001899/0.6604, allocations: 115.8 kB / 0.861 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of Causalize: time 0.00639/0.6668, allocations: 5.966 MB / 0.8668 GB, free: 128 kB / 0.6231 GB Notification: Performance of Tearing: time 0.0004099/0.6672, allocations: 338 kB / 0.8671 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of Initialization: time 3.026e-06/0.6672, allocations: 7.938 kB / 0.8671 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of Tearing: time 0.0002932/0.6675, allocations: 326.2 kB / 0.8674 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of Categorize: time 3.577e-05/0.6676, allocations: 7.984 kB / 0.8675 GB, free: 15.36 MB / 0.6387 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min