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.001174/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001389/0.001389, allocations: 191.3 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 222 MB, free: 4.973 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.6387/0.6387, allocations: 95.48 MB / 364.8 MB, free: 10.17 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.001498/0.001498, allocations: 68.31 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4532, allocations: 69.08 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00722/0.4604, allocations: 8.143 MB / 0.5097 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00584/0.4663, allocations: 4.778 MB / 0.5143 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.467, allocations: 35.75 kB / 0.5144 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003153/0.4701, allocations: 1.225 MB / 0.5155 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.4712, allocations: 0.6059 MB / 0.5161 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.4718, allocations: 199.7 kB / 0.5163 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.473, allocations: 1.606 MB / 0.5179 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.4734, allocations: 489.2 kB / 0.5184 GB, free: 488 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.474, allocations: 0.6143 MB / 0.519 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/0.4748, allocations: 0.6413 MB / 0.5196 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.475, allocations: 56 kB / 0.5196 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.4755, allocations: 179.8 kB / 0.5198 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.4758, allocations: 250.9 kB / 0.5201 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.4765, allocations: 0.6175 MB / 0.5207 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.478, allocations: 1.623 MB / 0.5222 GB, free: 12.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.478, allocations: 0 / 0.5222 GB, free: 12.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.478, allocations: 0 / 0.5222 GB, free: 12.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.4781, allocations: 0 / 0.5222 GB, free: 12.48 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.00296/0.481, allocations: 1.753 MB / 0.524 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.4811, allocations: 11.98 kB / 0.524 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.4813, allocations: 158.3 kB / 0.5241 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.4834, allocations: 1.251 MB / 0.5253 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.4834, allocations: 29 kB / 0.5254 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.4835, allocations: 36 kB / 0.5254 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.4843, allocations: 450.2 kB / 0.5258 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4844, allocations: 4 kB / 0.5258 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.4844, allocations: 8 kB / 0.5258 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.4845, allocations: 28.92 kB / 0.5259 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.4851, allocations: 423.7 kB / 0.5263 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.4883, allocations: 2.151 MB / 0.5284 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/0.4892, allocations: 0.4922 MB / 0.5289 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.4895, allocations: 203.9 kB / 0.5291 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4895, allocations: 8.562 kB / 0.5291 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4896, allocations: 42.55 kB / 0.5291 GB, free: 5.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.4896, allocations: 0 / 0.5291 GB, free: 5.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009481/0.4905, allocations: 0.5899 MB / 0.5297 GB, free: 4.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4906, allocations: 55.41 kB / 0.5297 GB, free: 4.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.493, allocations: 2.012 MB / 0.5317 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.4931, allocations: 33.64 kB / 0.5317 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.4936, allocations: 0.5815 MB / 0.5323 GB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.4937, allocations: 118.3 kB / 0.5324 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.4939, allocations: 69.61 kB / 0.5325 GB, free: 1.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.4941, allocations: 318 kB / 0.5328 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.4943, allocations: 139.8 kB / 0.5329 GB, free: 1.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.4947, allocations: 189.4 kB / 0.5331 GB, free: 1.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.4952, allocations: 316.7 kB / 0.5334 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4952, allocations: 4 kB / 0.5334 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006403/0.4958, allocations: 492 kB / 0.5339 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4959, allocations: 8.031 kB / 0.5339 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4959, allocations: 3.984 kB / 0.5339 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4959, allocations: 7.938 kB / 0.5339 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.4962, allocations: 75.91 kB / 0.534 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.4962, allocations: 7.922 kB / 0.534 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.4966, allocations: 39.53 kB / 0.534 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4966, allocations: 11.94 kB / 0.534 GB, free: 80 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006203/0.4972, allocations: 0.5717 MB / 0.5346 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.4974, allocations: 138.2 kB / 0.5347 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.4977, allocations: 166.4 kB / 0.5349 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4977, allocations: 4 kB / 0.5349 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.4977, allocations: 7.875 kB / 0.5349 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4977, allocations: 7.984 kB / 0.5349 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4995, allocations: 1.393 MB / 0.5362 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4995, allocations: 8.094 kB / 0.5362 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.4998, allocations: 79.83 kB / 0.5363 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4998, allocations: 4 kB / 0.5363 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.4998, allocations: 8 kB / 0.5363 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4998, allocations: 0 / 0.5363 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4998, allocations: 0 / 0.5363 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.5006, allocations: 0.5972 MB / 0.5369 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.5011, allocations: 323.1 kB / 0.5372 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5012, allocations: 8 kB / 0.5372 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.5016, allocations: 11.98 kB / 0.5372 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.5017, allocations: 19.98 kB / 0.5373 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.5017, allocations: 8 kB / 0.5373 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.5035, allocations: 1.45 MB / 0.5387 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5035, allocations: 0 / 0.5387 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005868/0.5041, allocations: 207.7 kB / 0.5389 GB, free: 10.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004494/0.5045, allocations: 160 kB / 0.539 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004967/0.505, allocations: 327.6 kB / 0.5394 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.505, allocations: 4 kB / 0.5394 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.5053, allocations: 180.5 kB / 0.5395 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.507, allocations: 477 kB / 0.54 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.5108, allocations: 3 MB / 0.5429 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.5119, allocations: 1.522 MB / 0.5444 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.5124, allocations: 265.4 kB / 0.5447 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5126, allocations: 71.44 kB / 0.5447 GB, free: 4.906 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5126, allocations: 0 / 0.5447 GB, free: 4.906 MB / 414.1 MB Notification: Performance of Templates: time 0.03165/0.5442, allocations: 17.88 MB / 0.5622 GB, free: 3.195 MB / 430.1 MB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (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)