Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.Detailed.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 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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009979, allocations: 111.3 kB / 15.24 MB, free: 0.6445 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.0009374/0.0009374, allocations: 198.3 kB / 16.14 MB, free: 6.691 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.181/1.181, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.445/2.445, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 65.14 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.233, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007299/0.2403, allocations: 7.289 MB / 1.075 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005864/0.2462, allocations: 5.131 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005137/0.2467, allocations: 35.81 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.2501, allocations: 1.575 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009108/0.251, allocations: 0.5317 MB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.2515, allocations: 190.7 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.2531, allocations: 1.97 MB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.2536, allocations: 0.5415 MB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.2542, allocations: 0.641 MB / 1.085 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007144/0.2549, allocations: 0.8045 MB / 1.086 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.255, allocations: 75.94 kB / 1.086 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.2554, allocations: 191.8 kB / 1.086 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.2557, allocations: 314.6 kB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005736/0.2563, allocations: 0.7804 MB / 1.087 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.2577, allocations: 2.048 MB / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2577, allocations: 0 / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2577, allocations: 0 / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.2578, allocations: 4 kB / 1.089 GB, free: 4.695 MB / 0.8419 GB 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.002368/0.2601, allocations: 2.148 MB / 1.091 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2602, allocations: 12.03 kB / 1.091 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.2604, allocations: 210.3 kB / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.2622, allocations: 1.563 MB / 1.093 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2622, allocations: 28.98 kB / 1.093 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.2623, allocations: 39.98 kB / 1.093 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.2629, allocations: 450.3 kB / 1.093 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2629, allocations: 0 / 1.093 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.263, allocations: 15.98 kB / 1.093 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.263, allocations: 28.92 kB / 1.093 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.2636, allocations: 423.7 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.2661, allocations: 2.334 MB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.267, allocations: 0.5066 MB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.2673, allocations: 205.3 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2673, allocations: 4.281 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2673, allocations: 30.84 kB / 1.097 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.2674, allocations: 4 kB / 1.097 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008065/0.2682, allocations: 0.6414 MB / 1.098 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2682, allocations: 55.41 kB / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.271, allocations: 2.575 MB / 1.1 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.271, allocations: 33.7 kB / 1.1 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.2717, allocations: 0.7682 MB / 1.101 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.2718, allocations: 118.3 kB / 1.101 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2719, allocations: 65.61 kB / 1.101 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2721, allocations: 318.5 kB / 1.101 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.2723, allocations: 135.9 kB / 1.101 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.2725, allocations: 181.4 kB / 1.102 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.2729, allocations: 326.2 kB / 1.102 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2729, allocations: 4.031 kB / 1.102 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006174/0.2735, allocations: 0.5301 MB / 1.102 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2735, allocations: 4 kB / 1.102 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2736, allocations: 0 / 1.102 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2736, allocations: 0 / 1.102 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.2739, allocations: 83.89 kB / 1.103 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2739, allocations: 0 / 1.103 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.2743, allocations: 31.67 kB / 1.103 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2743, allocations: 8 kB / 1.103 GB, free: 6.461 MB / 0.8575 GB 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.000669/0.275, allocations: 0.6932 MB / 1.103 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.2751, allocations: 185.6 kB / 1.103 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.2754, allocations: 215.2 kB / 1.104 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.2754, allocations: 4 kB / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2754, allocations: 0 / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2754, allocations: 3.984 kB / 1.104 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.2772, allocations: 1.574 MB / 1.105 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2772, allocations: 0 / 1.105 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.2775, allocations: 87.83 kB / 1.105 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2775, allocations: 0 / 1.105 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2775, allocations: 8 kB / 1.105 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2776, allocations: 4 kB / 1.105 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2776, allocations: 3.938 kB / 1.105 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.2782, allocations: 0.6401 MB / 1.106 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.2787, allocations: 378.5 kB / 1.106 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.2788, allocations: 11.98 kB / 1.106 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.2792, allocations: 8 kB / 1.106 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.2792, allocations: 23.84 kB / 1.106 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2793, allocations: 19.98 kB / 1.106 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00206/0.2813, allocations: 1.847 MB / 1.108 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2813, allocations: 0 / 1.108 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005717/0.2819, allocations: 231.8 kB / 1.108 GB, free: 408 kB / 0.8575 GB 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.0003867/0.2823, allocations: 163.6 kB / 1.109 GB, free: 244 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.2828, allocations: 331.9 kB / 1.109 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2828, allocations: 4 kB / 1.109 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.283, allocations: 167.8 kB / 1.109 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.285, allocations: 0.5749 MB / 1.11 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.2891, allocations: 3.801 MB / 1.113 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.2905, allocations: 1.761 MB / 1.115 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000601/0.2911, allocations: 307.1 kB / 1.115 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.2912, allocations: 79.44 kB / 1.115 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.2913, allocations: 0 / 1.115 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of Templates: time 0.02981/0.3211, allocations: 21.05 MB / 1.136 GB, free: 4.383 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)