Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 112 kB / 16.43 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.001222/0.001222, allocations: 185.9 kB / 17.36 MB, free: 5.723 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 474.4 MB / 0.7477 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.533e-05, allocations: 5.516 kB / 1.073 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006117/0.006151, allocations: 5.124 MB / 1.078 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7202/0.7264, allocations: 150.7 MB / 1.225 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7276, allocations: 20.25 kB / 1.225 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.7282, allocations: 196.1 kB / 1.225 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.7302, allocations: 0.5675 MB / 1.225 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.7325, allocations: 0.8506 MB / 1.226 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.7342, allocations: 1.429 MB / 1.228 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.735, allocations: 473 kB / 1.228 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.7356, allocations: 494.2 kB / 1.229 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.7362, allocations: 0.4943 MB / 1.229 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.7363, allocations: 112.8 kB / 1.229 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.7372, allocations: 477.2 kB / 1.23 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.001046/0.7383, allocations: 1.673 MB / 1.231 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 0.0005318/0.7388, allocations: 1.018 MB / 1.232 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.739, allocations: 191.8 kB / 1.232 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 0.0002312/0.7393, allocations: 54.06 kB / 1.232 GB, free: 10.31 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 (213) * Number of variables: 240 (213) Notification: Performance of Bindings: time 0.002952/0.7422, allocations: 3.554 MB / 1.236 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 0.000393/0.7426, allocations: 337.8 kB / 1.236 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.001863/0.7445, allocations: 2.084 MB / 1.238 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of simplify1: time 0.0003693/0.7449, allocations: 339.4 kB / 1.239 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of Alias: time 0.00462/0.7495, allocations: 3.804 MB / 1.242 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simplify2: time 0.0002252/0.7497, allocations: 216.6 kB / 1.243 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of Detect States: time 0.0004214/0.7502, allocations: 327.6 kB / 1.243 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of Events: time 0.0003865/0.7506, allocations: 295 kB / 1.243 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.0005229/0.7511, allocations: 496.1 kB / 1.244 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of Causalize: time 0.002635/0.7537, allocations: 2.247 MB / 1.246 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of After Index Reduction Inline: time 0.001109/0.7549, allocations: 1.043 MB / 1.247 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of Inline: time 0.005537/0.7604, allocations: 2.875 MB / 1.25 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.0001188/0.7605, allocations: 59.69 kB / 1.25 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of Cleanup: time 0.0004247/0.761, allocations: 455.3 kB / 1.25 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of Causalize: time 0.004551/0.7655, allocations: 3.564 MB / 1.254 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of Tearing: time 0.0005092/0.766, allocations: 422 kB / 1.254 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of Initialization: time 1.172e-06/0.7661, allocations: 0 / 1.254 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of Tearing: time 0.0004057/0.7665, allocations: 414.1 kB / 1.254 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of Categorize: time 3.929e-05/0.7665, allocations: 12.02 kB / 1.254 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of Solve: time 0.0008601/0.7674, allocations: 403.3 kB / 1.255 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of Jacobian: time 5.11e-06/0.7674, allocations: 0 / 1.255 GB, free: 2.664 MB / 0.9669 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 13 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 5 (5) {weaDat.decAng.tNext, weaDat.eqnTim.tNext, weaDat.conTim.tNext, weaDat.conTimMin.tNext, weaDat.locTim.tNext} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 27 (27) {$SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 86 (scalar:86, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 159 (scalar:156, array:1, record:2) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 9.865e-05/0.7675, allocations: 57.36 kB / 1.255 GB, free: 2.613 MB / 0.9669 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_23)