Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 193.3 kB / 16.14 MB, free: 6.688 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.432/2.432, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 63.62 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2417, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006942/0.2487, allocations: 7.285 MB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005418/0.2541, allocations: 5.123 MB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.2546, allocations: 39.75 kB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.2577, allocations: 1.586 MB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000838/0.2586, allocations: 0.5239 MB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.2591, allocations: 195.7 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.2606, allocations: 1.965 MB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.2612, allocations: 0.5415 MB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.2617, allocations: 0.6411 MB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.2624, allocations: 0.8083 MB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.2626, allocations: 68 kB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.263, allocations: 187.8 kB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.2632, allocations: 322.5 kB / 1.086 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005863/0.2638, allocations: 0.7726 MB / 1.087 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.2653, allocations: 2.051 MB / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2653, allocations: 0 / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2653, allocations: 0 / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.2653, allocations: 0 / 1.089 GB, free: 4.664 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.002375/0.2677, allocations: 2.159 MB / 1.091 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2677, allocations: 8.031 kB / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.268, allocations: 206.2 kB / 1.091 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.2698, allocations: 1.567 MB / 1.093 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2698, allocations: 25 kB / 1.093 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.2699, allocations: 43.98 kB / 1.093 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.2706, allocations: 446.3 kB / 1.093 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2706, allocations: 0 / 1.093 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.2707, allocations: 12 kB / 1.093 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.2707, allocations: 28.92 kB / 1.093 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.2713, allocations: 427.6 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.2738, allocations: 2.335 MB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.2747, allocations: 0.4961 MB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.275, allocations: 205.3 kB / 1.097 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.275, allocations: 4.281 kB / 1.097 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.275, allocations: 38.78 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.243e-06/0.275, allocations: 4 kB / 1.097 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008087/0.2759, allocations: 0.6376 MB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2759, allocations: 55.41 kB / 1.098 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.2786, allocations: 2.575 MB / 1.1 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.2786, allocations: 33.7 kB / 1.1 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.2793, allocations: 0.7682 MB / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.2794, allocations: 114.3 kB / 1.101 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2795, allocations: 73.53 kB / 1.101 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.2796, allocations: 322.5 kB / 1.101 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2798, allocations: 135.9 kB / 1.101 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.28, allocations: 177.5 kB / 1.102 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.2804, allocations: 334.2 kB / 1.102 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2804, allocations: 0 / 1.102 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006113/0.281, allocations: 0.5262 MB / 1.102 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2811, allocations: 4 kB / 1.102 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2811, allocations: 0 / 1.102 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2811, allocations: 8.031 kB / 1.102 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2814, allocations: 79.89 kB / 1.103 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2814, allocations: 0 / 1.103 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.2817, allocations: 31.62 kB / 1.103 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.2817, allocations: 8 kB / 1.103 GB, free: 6.422 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.0006482/0.2824, allocations: 0.6893 MB / 1.103 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.2826, allocations: 189.6 kB / 1.103 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.2828, allocations: 215.2 kB / 1.104 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2828, allocations: 8 kB / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2828, allocations: 3.984 kB / 1.104 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2828, allocations: 0 / 1.104 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.2846, allocations: 1.57 MB / 1.105 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2846, allocations: 0 / 1.105 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.2849, allocations: 79.89 kB / 1.105 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2849, allocations: 4.094 kB / 1.105 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.2849, allocations: 8 kB / 1.105 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2849, allocations: 4 kB / 1.105 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2849, allocations: 3.938 kB / 1.105 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.2856, allocations: 0.64 MB / 1.106 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.286, allocations: 382.5 kB / 1.106 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.2862, allocations: 12 kB / 1.106 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.2865, allocations: 8 kB / 1.106 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.2866, allocations: 19.91 kB / 1.106 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.2866, allocations: 12 kB / 1.106 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002034/0.2886, allocations: 1.851 MB / 1.108 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2886, allocations: 0 / 1.108 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005182/0.2891, allocations: 227.8 kB / 1.108 GB, free: 380 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.0003222/0.2895, allocations: 180.7 kB / 1.109 GB, free: 200 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.29, allocations: 331.9 kB / 1.109 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.29, allocations: 0 / 1.109 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.2902, allocations: 171.8 kB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.2922, allocations: 0.5677 MB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.2963, allocations: 3.801 MB / 1.113 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.2975, allocations: 1.754 MB / 1.115 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005965/0.2981, allocations: 315.1 kB / 1.115 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.2983, allocations: 79.44 kB / 1.115 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.2983, allocations: 0 / 1.115 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of Templates: time 0.02938/0.3277, allocations: 21.06 MB / 1.136 GB, free: 4.34 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)