Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.544/1.544, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 187.7 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009091/0.000909, allocations: 99.39 kB / 0.748 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009862/0.0009863, allocations: 55.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2289, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007842/0.2368, allocations: 7.271 MB / 0.9893 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007239/0.2441, allocations: 5.166 MB / 0.9944 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2455, allocations: 35.81 kB / 0.9944 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.2502, allocations: 1.594 MB / 0.996 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.2521, allocations: 0.5239 MB / 0.9965 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.2531, allocations: 201.7 kB / 0.9967 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.2561, allocations: 1.996 MB / 0.9986 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.2569, allocations: 0.5337 MB / 0.9991 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.2578, allocations: 0.6527 MB / 0.9998 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.2593, allocations: 0.8045 MB / 1.001 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.2596, allocations: 68 kB / 1.001 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.2602, allocations: 187.8 kB / 1.001 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.2606, allocations: 314.5 kB / 1.001 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2617, allocations: 0.7687 MB / 1.002 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.2638, allocations: 2.055 MB / 1.004 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2638, allocations: 0 / 1.004 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2638, allocations: 4 kB / 1.004 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.349e-05/0.2639, allocations: 0 / 1.004 GB, free: 4.125 MB / 0.7292 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.004125/0.268, allocations: 2.159 MB / 1.006 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2681, allocations: 12.03 kB / 1.006 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.2685, allocations: 198.4 kB / 1.006 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.2713, allocations: 1.567 MB / 1.008 GB, free: 56 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.2713, allocations: 24.98 kB / 1.008 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.2714, allocations: 36.08 kB / 1.008 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.2721, allocations: 446.2 kB / 1.008 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2721, allocations: 0 / 1.008 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.2722, allocations: 15.98 kB / 1.008 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/0.2722, allocations: 24.98 kB / 1.008 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.2728, allocations: 431.6 kB / 1.009 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/0.2765, allocations: 2.331 MB / 1.011 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/0.2774, allocations: 0.5 MB / 1.011 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.2777, allocations: 207.7 kB / 1.012 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.2778, allocations: 4.281 kB / 1.012 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2778, allocations: 34.84 kB / 1.012 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 3.155e-06/0.2778, allocations: 0 / 1.012 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0009429/0.2787, allocations: 0.6445 MB / 1.012 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2788, allocations: 55.41 kB / 1.012 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/0.2822, allocations: 2.575 MB / 1.015 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.2823, allocations: 41.7 kB / 1.015 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/0.2831, allocations: 0.7605 MB / 1.016 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.2832, allocations: 114.3 kB / 1.016 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.2833, allocations: 69.59 kB / 1.016 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2834, allocations: 318.5 kB / 1.016 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.2836, allocations: 135.9 kB / 1.016 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.2839, allocations: 185.4 kB / 1.016 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.2843, allocations: 329.1 kB / 1.017 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2843, allocations: 0 / 1.017 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008338/0.2852, allocations: 0.5263 MB / 1.017 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2852, allocations: 6.656 kB / 1.017 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2852, allocations: 3.984 kB / 1.017 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2852, allocations: 4 kB / 1.017 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.2856, allocations: 79.89 kB / 1.017 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.2856, allocations: 0 / 1.017 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.2861, allocations: 31.69 kB / 1.017 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.2861, allocations: 8 kB / 1.017 GB, free: 5.902 MB / 0.7448 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.000749/0.2869, allocations: 0.6964 MB / 1.018 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.2871, allocations: 189.6 kB / 1.018 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.2874, allocations: 215.2 kB / 1.018 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.2874, allocations: 4 kB / 1.018 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2875, allocations: 0 / 1.018 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2875, allocations: 0 / 1.018 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.2897, allocations: 1.578 MB / 1.02 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2897, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.29, allocations: 79.89 kB / 1.02 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.29, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.29, allocations: 8 kB / 1.02 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.2901, allocations: 7.938 kB / 1.02 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2901, allocations: 3.938 kB / 1.02 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.2916, allocations: 1.794 MB / 1.022 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/0.2923, allocations: 374.5 kB / 1.022 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.2924, allocations: 7.984 kB / 1.022 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.2928, allocations: 19.78 kB / 1.022 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2929, allocations: 27.97 kB / 1.022 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.2929, allocations: 4 kB / 1.022 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.4149/0.7078, allocations: 1.847 MB / 1.024 GB, free: 97.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.12e-07/0.7079, allocations: 1.312 kB / 1.024 GB, free: 97.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001171/0.7091, allocations: 223.8 kB / 1.024 GB, free: 97.62 MB / 0.7448 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.0003876/0.7095, allocations: 159 kB / 1.024 GB, free: 97.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.71, allocations: 320.8 kB / 1.025 GB, free: 97.53 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.71, allocations: 0 / 1.025 GB, free: 97.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.7102, allocations: 176.1 kB / 1.025 GB, free: 97.53 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.7123, allocations: 0.577 MB / 1.025 GB, free: 97.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.7166, allocations: 4.062 MB / 1.029 GB, free: 95.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.7177, allocations: 1.763 MB / 1.031 GB, free: 95.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007742/0.7184, allocations: 312.5 kB / 1.031 GB, free: 95.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.7187, allocations: 80.16 kB / 1.032 GB, free: 95.2 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.7187, allocations: 0 / 1.032 GB, free: 95.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.03842/0.7571, allocations: 21.46 MB / 1.052 GB, free: 94.02 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)