Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001105/0.001105, 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.001061/0.001061, 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.127/1.127, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.201/2.201, allocations: 469.8 MB / 0.7431 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.248e-05, allocations: 4.531 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005284/0.005316, allocations: 5.131 MB / 1.071 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5353/0.5406, allocations: 150.7 MB / 1.218 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.5414, allocations: 16 kB / 1.218 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.5421, allocations: 205.8 kB / 1.218 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.5438, allocations: 0.5717 MB / 1.219 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.5455, allocations: 0.8443 MB / 1.22 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.5468, allocations: 1.433 MB / 1.221 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.5474, allocations: 466.2 kB / 1.221 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.5479, allocations: 490.7 kB / 1.222 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.5484, allocations: 0.4936 MB / 1.222 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.5485, allocations: 111.9 kB / 1.222 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.5492, allocations: 482.7 kB / 1.223 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.001016/0.5503, allocations: 1.673 MB / 1.225 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.0004743/0.5507, allocations: 1.019 MB / 1.226 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.5509, allocations: 192.2 kB / 1.226 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.0001778/0.5511, allocations: 58.14 kB / 1.226 GB, free: 2.438 MB / 0.9356 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.002634/0.5537, allocations: 3.547 MB / 1.229 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 0.000359/0.5541, allocations: 335.8 kB / 1.23 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.001837/0.5559, allocations: 2.094 MB / 1.232 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simplify1: time 0.0003554/0.5563, allocations: 331.5 kB / 1.232 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of Alias: time 0.004295/0.5606, allocations: 3.842 MB / 1.236 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of simplify2: time 0.0002009/0.5608, allocations: 192.6 kB / 1.236 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0003504/0.5612, allocations: 331.8 kB / 1.236 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of Events: time 0.0003418/0.5615, allocations: 285.4 kB / 1.236 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0004794/0.562, allocations: 0.4923 MB / 1.237 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of Causalize: time 0.002403/0.5644, allocations: 2.263 MB / 1.239 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.0009841/0.5654, allocations: 1.054 MB / 1.24 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of Inline: time 0.004514/0.5699, allocations: 2.884 MB / 1.243 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0001015/0.5701, allocations: 63.67 kB / 1.243 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of Cleanup: time 0.0003322/0.5704, allocations: 447.5 kB / 1.243 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of Causalize: time 0.003955/0.5744, allocations: 3.584 MB / 1.247 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of Tearing: time 0.0004013/0.5748, allocations: 426 kB / 1.247 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of Initialization: time 4.3e-07/0.5748, allocations: 0 / 1.247 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of Tearing: time 0.0003281/0.5751, allocations: 426 kB / 1.248 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of Categorize: time 1.822e-05/0.5751, allocations: 4 kB / 1.248 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of Solve: time 0.0006295/0.5758, allocations: 399.3 kB / 1.248 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of Jacobian: time 2.495e-06/0.5758, allocations: 0 / 1.248 GB, free: 11.88 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 6.143e-05/0.5759, allocations: 63.84 kB / 1.248 GB, free: 11.83 MB / 0.9669 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_23)