Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001321/0.001322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.712/0.712, allocations: 95.63 MB / 366 MB, free: 10.35 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 20 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4617, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00704/0.4689, allocations: 7.243 MB / 0.5121 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006639/0.4756, allocations: 4.415 MB / 0.5164 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4768, allocations: 31.81 kB / 0.5165 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003567/0.4804, allocations: 1.115 MB / 0.5176 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.4825, allocations: 0.5903 MB / 0.5181 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.4833, allocations: 163.7 kB / 0.5183 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001849/0.4852, allocations: 1.347 MB / 0.5196 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.4857, allocations: 443.8 kB / 0.52 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.4863, allocations: 0.4937 MB / 0.5205 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.4868, allocations: 0.6105 MB / 0.5211 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.487, allocations: 52 kB / 0.5212 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.4874, allocations: 163.8 kB / 0.5213 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4877, allocations: 227 kB / 0.5215 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.4879, allocations: 288.9 kB / 0.5218 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.4892, allocations: 1.29 MB / 0.5231 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4893, allocations: 0 / 0.5231 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4893, allocations: 4 kB / 0.5231 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.4893, allocations: 0 / 0.5231 GB, free: 13.94 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002396/0.4917, allocations: 1.544 MB / 0.5246 GB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4918, allocations: 19.98 kB / 0.5246 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.492, allocations: 154 kB / 0.5248 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.4941, allocations: 1.209 MB / 0.5259 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.4941, allocations: 28.98 kB / 0.526 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.4942, allocations: 36 kB / 0.526 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.4951, allocations: 442.3 kB / 0.5264 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4951, allocations: 0 / 0.5264 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.4951, allocations: 15.98 kB / 0.5264 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.4952, allocations: 20.98 kB / 0.5265 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.4959, allocations: 431.6 kB / 0.5269 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.4992, allocations: 2.131 MB / 0.5289 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5002, allocations: 0.4967 MB / 0.5294 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.5005, allocations: 213.1 kB / 0.5296 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.5006, allocations: 4.562 kB / 0.5296 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.5006, allocations: 34.56 kB / 0.5297 GB, free: 6.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 3.877e-06/0.5006, allocations: 0 / 0.5297 GB, free: 6.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.000975/0.5016, allocations: 0.6017 MB / 0.5303 GB, free: 6.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.5016, allocations: 55.41 kB / 0.5303 GB, free: 6.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.5042, allocations: 1.988 MB / 0.5323 GB, free: 4.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.5043, allocations: 41.7 kB / 0.5323 GB, free: 4.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/0.5049, allocations: 0.5737 MB / 0.5329 GB, free: 3.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.505, allocations: 106.4 kB / 0.533 GB, free: 3.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.505, allocations: 8 kB / 0.533 GB, free: 3.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5052, allocations: 318 kB / 0.5333 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.5055, allocations: 135.9 kB / 0.5334 GB, free: 3.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.5058, allocations: 181.3 kB / 0.5336 GB, free: 2.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.506, allocations: 163.9 kB / 0.5337 GB, free: 2.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.506, allocations: 4.031 kB / 0.5337 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006862/0.5067, allocations: 499.9 kB / 0.5342 GB, free: 2.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5068, allocations: 7.984 kB / 0.5342 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5068, allocations: 0 / 0.5342 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5068, allocations: 0 / 0.5342 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.5071, allocations: 83.95 kB / 0.5343 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5072, allocations: 3.938 kB / 0.5343 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.5076, allocations: 27.69 kB / 0.5343 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.5076, allocations: 8 kB / 0.5343 GB, free: 2.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000817/0.5085, allocations: 0.5678 MB / 0.5349 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.5087, allocations: 154 kB / 0.535 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.509, allocations: 170.4 kB / 0.5352 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.509, allocations: 4 kB / 0.5352 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.509, allocations: 0 / 0.5352 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.509, allocations: 0 / 0.5352 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.511, allocations: 1.401 MB / 0.5366 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5111, allocations: 0 / 0.5366 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.5114, allocations: 75.89 kB / 0.5366 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5114, allocations: 4 kB / 0.5366 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5114, allocations: 4 kB / 0.5366 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.5114, allocations: 7.984 kB / 0.5367 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5114, allocations: 0 / 0.5367 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008722/0.5123, allocations: 0.6055 MB / 0.5372 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.513, allocations: 323.2 kB / 0.5376 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.5131, allocations: 8 kB / 0.5376 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.5134, allocations: 19.81 kB / 0.5376 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.5135, allocations: 23.97 kB / 0.5376 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.5135, allocations: 8 kB / 0.5376 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002589/0.5161, allocations: 1.43 MB / 0.539 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5162, allocations: 0 / 0.539 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007292/0.5169, allocations: 203.8 kB / 0.5392 GB, free: 12.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005203/0.5174, allocations: 155.3 kB / 0.5394 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005916/0.518, allocations: 324.1 kB / 0.5397 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.518, allocations: 4 kB / 0.5397 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.5183, allocations: 171.8 kB / 0.5398 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5202, allocations: 484.9 kB / 0.5403 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.525, allocations: 2.905 MB / 0.5431 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.5264, allocations: 1.522 MB / 0.5446 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008381/0.5272, allocations: 273.3 kB / 0.5449 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5274, allocations: 71.44 kB / 0.5449 GB, free: 6.996 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5274, allocations: 0 / 0.5449 GB, free: 6.996 MB / 414.1 MB Notification: Performance of Templates: time 0.03721/0.5646, allocations: 17.22 MB / 0.5618 GB, free: 5.945 MB / 430.1 MB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) Environment - environmentSimulation: