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.0008632/0.0008632, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005228/0.005228, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.481/2.481, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 14.06 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2442, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006342/0.2505, allocations: 6.869 MB / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005479/0.256, allocations: 5.053 MB / 1.086 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.2565, allocations: 35.81 kB / 1.086 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.2596, allocations: 1.579 MB / 1.087 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008867/0.2605, allocations: 0.5239 MB / 1.088 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.261, allocations: 208.3 kB / 1.088 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.2627, allocations: 1.962 MB / 1.09 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.2632, allocations: 0.5337 MB / 1.09 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.2638, allocations: 0.6293 MB / 1.091 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.2645, allocations: 0.7889 MB / 1.092 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2647, allocations: 60 kB / 1.092 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.265, allocations: 183.8 kB / 1.092 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.2653, allocations: 310.5 kB / 1.092 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.2659, allocations: 0.7899 MB / 1.093 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.2674, allocations: 2.012 MB / 1.095 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2674, allocations: 0 / 1.095 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2674, allocations: 4 kB / 1.095 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.2674, allocations: 0 / 1.095 GB, free: 1.863 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.002121/0.2695, allocations: 1.872 MB / 1.097 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2696, allocations: 12.03 kB / 1.097 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.2698, allocations: 198.4 kB / 1.097 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.2717, allocations: 1.571 MB / 1.099 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2718, allocations: 28.98 kB / 1.099 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.2718, allocations: 32 kB / 1.099 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.2724, allocations: 446.3 kB / 1.099 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2724, allocations: 0 / 1.099 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.2725, allocations: 19.98 kB / 1.099 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.2725, allocations: 24.92 kB / 1.099 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.2731, allocations: 431.6 kB / 1.1 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.2757, allocations: 2.327 MB / 1.102 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.2765, allocations: 0.5078 MB / 1.102 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.2768, allocations: 205.2 kB / 1.103 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.2768, allocations: 8.266 kB / 1.103 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2769, allocations: 30.84 kB / 1.103 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.2769, allocations: 0 / 1.103 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008195/0.2777, allocations: 0.6414 MB / 1.103 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2777, allocations: 55.41 kB / 1.103 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.2806, allocations: 2.583 MB / 1.106 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2806, allocations: 33.7 kB / 1.106 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/0.2813, allocations: 0.7682 MB / 1.107 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.2814, allocations: 118.3 kB / 1.107 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.2814, allocations: 29.7 kB / 1.107 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.2815, allocations: 318.5 kB / 1.107 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.2817, allocations: 135.9 kB / 1.107 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.2819, allocations: 181.4 kB / 1.107 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.2823, allocations: 326.3 kB / 1.108 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2823, allocations: 3.938 kB / 1.108 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006329/0.283, allocations: 0.5263 MB / 1.108 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.283, allocations: 4 kB / 1.108 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.283, allocations: 0 / 1.108 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.283, allocations: 0 / 1.108 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.2833, allocations: 83.89 kB / 1.108 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2833, allocations: 3.984 kB / 1.108 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.2836, allocations: 31.59 kB / 1.108 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2837, allocations: 12 kB / 1.108 GB, free: 3.941 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.0006707/0.2843, allocations: 0.6893 MB / 1.109 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.2845, allocations: 181.7 kB / 1.109 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.2848, allocations: 223.2 kB / 1.109 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2848, allocations: 4 kB / 1.109 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2848, allocations: 0 / 1.109 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2848, allocations: 0 / 1.109 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.2866, allocations: 1.574 MB / 1.111 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2866, allocations: 3.938 kB / 1.111 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.2869, allocations: 75.95 kB / 1.111 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2869, allocations: 0 / 1.111 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2869, allocations: 8 kB / 1.111 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2869, allocations: 3.938 kB / 1.111 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2869, allocations: 11.88 kB / 1.111 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.2876, allocations: 0.644 MB / 1.112 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.288, allocations: 374.5 kB / 1.112 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.2881, allocations: 4 kB / 1.112 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.2885, allocations: 15.91 kB / 1.112 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2885, allocations: 27.84 kB / 1.112 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2886, allocations: 16 kB / 1.112 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002074/0.2906, allocations: 1.847 MB / 1.114 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2907, allocations: 0 / 1.114 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005196/0.2912, allocations: 227.8 kB / 1.114 GB, free: 13.89 MB / 0.8731 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.0002945/0.2915, allocations: 153.4 kB / 1.114 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.292, allocations: 339.8 kB / 1.115 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.292, allocations: 0 / 1.115 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2922, allocations: 171.8 kB / 1.115 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.2944, allocations: 0.5757 MB / 1.115 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.2985, allocations: 3.837 MB / 1.119 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.2996, allocations: 1.761 MB / 1.121 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005862/0.3002, allocations: 307.1 kB / 1.121 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3004, allocations: 83.38 kB / 1.121 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.3004, allocations: 3.938 kB / 1.121 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of Templates: time 0.03029/0.3307, allocations: 20.88 MB / 1.142 GB, free: 2.012 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)