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.0009029/0.0009029, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009187/0.0009188, allocations: 177.3 kB / 15.94 MB, free: 228 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.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.5715/0.5715, allocations: 95.58 MB / 366 MB, free: 10.36 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.0005445/0.0005447, allocations: 16 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3164, allocations: 70.33 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005538/0.3219, allocations: 6.62 MB / 0.5115 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00482/0.3268, allocations: 4.347 MB / 0.5157 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.3276, allocations: 31.81 kB / 0.5157 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003362/0.331, allocations: 1.541 MB / 0.5172 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009163/0.3319, allocations: 0.561 MB / 0.5178 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.3324, allocations: 163.7 kB / 0.5179 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.3334, allocations: 0.9994 MB / 0.5189 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.3338, allocations: 451.6 kB / 0.5193 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.3341, allocations: 366.2 kB / 0.5197 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.3345, allocations: 453.4 kB / 0.5201 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.3345, allocations: 24 kB / 0.5201 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.3348, allocations: 107.9 kB / 0.5203 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.335, allocations: 171.1 kB / 0.5204 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3351, allocations: 288.9 kB / 0.5207 GB, free: 380 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009083/0.336, allocations: 1.118 MB / 0.5218 GB, free: 15.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.336, allocations: 0 / 0.5218 GB, free: 15.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3361, allocations: 0 / 0.5218 GB, free: 15.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.3361, allocations: 0 / 0.5218 GB, free: 15.25 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.001981/0.3381, allocations: 1.474 MB / 0.5232 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3381, allocations: 11.98 kB / 0.5232 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.3383, allocations: 158 kB / 0.5234 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.3402, allocations: 1.296 MB / 0.5246 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3402, allocations: 29 kB / 0.5247 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.3403, allocations: 35.98 kB / 0.5247 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.3409, allocations: 426.3 kB / 0.5251 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3409, allocations: 0 / 0.5251 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.341, allocations: 12 kB / 0.5251 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.341, allocations: 20.98 kB / 0.5251 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.3416, allocations: 399.7 kB / 0.5255 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.3439, allocations: 1.768 MB / 0.5273 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.3447, allocations: 434.9 kB / 0.5277 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3447, allocations: 8 kB / 0.5277 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.3447, allocations: 30.56 kB / 0.5277 GB, free: 8.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.3447, allocations: 3.938 kB / 0.5277 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008196/0.3456, allocations: 0.5363 MB / 0.5282 GB, free: 8.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3456, allocations: 51.41 kB / 0.5283 GB, free: 8.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.3476, allocations: 1.602 MB / 0.5298 GB, free: 6.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3477, allocations: 29.7 kB / 0.5299 GB, free: 6.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/0.3482, allocations: 0.605 MB / 0.5305 GB, free: 6.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/0.3482, allocations: 110.4 kB / 0.5306 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.3483, allocations: 4 kB / 0.5306 GB, free: 5.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.3484, allocations: 318 kB / 0.5309 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3485, allocations: 112.5 kB / 0.531 GB, free: 5.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.3487, allocations: 143 kB / 0.5311 GB, free: 5.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3489, allocations: 148.4 kB / 0.5313 GB, free: 5.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3489, allocations: 0 / 0.5313 GB, free: 5.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005045/0.3494, allocations: 435.7 kB / 0.5317 GB, free: 4.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3495, allocations: 8.031 kB / 0.5317 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3495, allocations: 0 / 0.5317 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3495, allocations: 4 kB / 0.5317 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.3498, allocations: 75.89 kB / 0.5318 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3498, allocations: 4 kB / 0.5318 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.3501, allocations: 23.75 kB / 0.5318 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3501, allocations: 7.938 kB / 0.5318 GB, free: 4.645 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 (33): * Single equations (assignments): 33 * 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.0005892/0.3507, allocations: 0.5765 MB / 0.5324 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3508, allocations: 146.2 kB / 0.5325 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.3511, allocations: 166.4 kB / 0.5327 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.3511, allocations: 4 kB / 0.5327 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3511, allocations: 0 / 0.5327 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3511, allocations: 0 / 0.5327 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.3524, allocations: 1.17 MB / 0.5338 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3525, allocations: 0 / 0.5338 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.3527, allocations: 79.98 kB / 0.5339 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3527, allocations: 4 kB / 0.5339 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3528, allocations: 4 kB / 0.5339 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3528, allocations: 4 kB / 0.5339 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3528, allocations: 0 / 0.5339 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.3533, allocations: 0.5971 MB / 0.5345 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.3537, allocations: 255.2 kB / 0.5347 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3538, allocations: 8 kB / 0.5347 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.3541, allocations: 11.91 kB / 0.5347 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3541, allocations: 19.94 kB / 0.5348 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3542, allocations: 12 kB / 0.5348 GB, free: 1.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00132/0.3555, allocations: 1.165 MB / 0.5359 GB, free: 304 kB / 398.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3555, allocations: 0 / 0.5359 GB, free: 304 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006067/0.3561, allocations: 183.8 kB / 0.5361 GB, free: 120 kB / 398.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 (31): * Single equations (assignments): 31 * 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.0004583/0.3566, allocations: 159.7 kB / 0.5362 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.3571, allocations: 271.8 kB / 0.5365 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3571, allocations: 8 kB / 0.5365 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3573, allocations: 144 kB / 0.5366 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.359, allocations: 488.6 kB / 0.5371 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.3625, allocations: 2.873 MB / 0.5399 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.3636, allocations: 1.544 MB / 0.5414 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000638/0.3642, allocations: 245.2 kB / 0.5417 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3643, allocations: 75.44 kB / 0.5417 GB, free: 10.26 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3643, allocations: 0 / 0.5417 GB, free: 10.26 MB / 414.1 MB Notification: Performance of Templates: time 0.02505/0.3894, allocations: 14.54 MB / 0.5559 GB, free: 11.9 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: