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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009453/0.0009454, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009375/0.0009374, allocations: 189 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.485/1.485, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 62.03 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1742, allocations: 114.5 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007133/0.1813, allocations: 7.275 MB / 0.79 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005937/0.1873, allocations: 5.151 MB / 0.795 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009328/0.1882, allocations: 39.75 kB / 0.795 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.1919, allocations: 1.602 MB / 0.7966 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.1932, allocations: 0.5394 MB / 0.7971 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.1939, allocations: 199.4 kB / 0.7973 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1957, allocations: 1.768 MB / 0.799 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006256/0.1963, allocations: 0.5775 MB / 0.7996 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.1971, allocations: 0.684 MB / 0.8003 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009276/0.1981, allocations: 0.8317 MB / 0.8011 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.1983, allocations: 83.98 kB / 0.8012 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.1987, allocations: 195.8 kB / 0.8013 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.1991, allocations: 334.5 kB / 0.8017 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007792/0.1999, allocations: 0.7961 MB / 0.8024 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.2017, allocations: 2.195 MB / 0.8046 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2017, allocations: 0 / 0.8046 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2017, allocations: 0 / 0.8046 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.691e-05/0.2018, allocations: 0 / 0.8046 GB, free: 7.578 MB / 0.6231 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.003037/0.2048, allocations: 2.21 MB / 0.8067 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2048, allocations: 8.031 kB / 0.8067 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.2051, allocations: 198.4 kB / 0.8069 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.2071, allocations: 1.571 MB / 0.8085 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2071, allocations: 32.98 kB / 0.8085 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.2072, allocations: 32 kB / 0.8085 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.2078, allocations: 454.3 kB / 0.809 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2078, allocations: 0 / 0.809 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.2078, allocations: 19.98 kB / 0.809 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.2079, allocations: 20.98 kB / 0.809 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.2084, allocations: 431.6 kB / 0.8094 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.211, allocations: 2.331 MB / 0.8117 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.2118, allocations: 0.4923 MB / 0.8122 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.2121, allocations: 201.3 kB / 0.8124 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2121, allocations: 8.219 kB / 0.8124 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.2121, allocations: 38.84 kB / 0.8124 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.2121, allocations: 4 kB / 0.8124 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0008024/0.2129, allocations: 0.6334 MB / 0.813 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.213, allocations: 55.41 kB / 0.8131 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.2156, allocations: 2.575 MB / 0.8156 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2157, allocations: 33.7 kB / 0.8156 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.2163, allocations: 0.7643 MB / 0.8164 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.2164, allocations: 118.3 kB / 0.8165 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.2165, allocations: 69.59 kB / 0.8166 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.2166, allocations: 326.5 kB / 0.8169 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.2167, allocations: 135.9 kB / 0.817 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.217, allocations: 182.6 kB / 0.8172 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.2173, allocations: 321.7 kB / 0.8175 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2173, allocations: 4 kB / 0.8175 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006097/0.218, allocations: 0.5301 MB / 0.818 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.218, allocations: 4 kB / 0.818 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.218, allocations: 0 / 0.818 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.218, allocations: 8.031 kB / 0.818 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2183, allocations: 79.89 kB / 0.8181 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2183, allocations: 0 / 0.8181 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2186, allocations: 27.69 kB / 0.8181 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.2187, allocations: 12 kB / 0.8181 GB, free: 9.305 MB / 0.6387 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.0006135/0.2193, allocations: 0.6847 MB / 0.8188 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.2195, allocations: 189.6 kB / 0.819 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.2197, allocations: 219.1 kB / 0.8192 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2197, allocations: 11.98 kB / 0.8192 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2197, allocations: 0 / 0.8192 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2198, allocations: 0 / 0.8192 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.2214, allocations: 1.57 MB / 0.8207 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2214, allocations: 0 / 0.8207 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.2217, allocations: 79.89 kB / 0.8208 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2217, allocations: 4.094 kB / 0.8208 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2217, allocations: 8 kB / 0.8208 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2217, allocations: 4 kB / 0.8208 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.2217, allocations: 3.938 kB / 0.8208 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.2223, allocations: 0.648 MB / 0.8215 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.2228, allocations: 378.5 kB / 0.8218 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.2229, allocations: 12 kB / 0.8218 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.2233, allocations: 15.88 kB / 0.8218 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.2233, allocations: 23.91 kB / 0.8219 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2233, allocations: 8 kB / 0.8219 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001937/0.2253, allocations: 1.851 MB / 0.8237 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2253, allocations: 0 / 0.8237 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005206/0.2258, allocations: 227.8 kB / 0.8239 GB, free: 3.242 MB / 0.6387 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.0003034/0.2261, allocations: 157.4 kB / 0.8241 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.2267, allocations: 400.7 kB / 0.8244 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2267, allocations: 0 / 0.8244 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2269, allocations: 168.6 kB / 0.8246 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.2288, allocations: 0.6384 MB / 0.8252 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.2327, allocations: 3.82 MB / 0.8289 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.2338, allocations: 1.75 MB / 0.8307 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007049/0.2345, allocations: 352.8 kB / 0.831 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.2347, allocations: 99.38 kB / 0.8311 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.2347, allocations: 0 / 0.8311 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.03062/0.2653, allocations: 22.16 MB / 0.8527 GB, free: 5.984 MB / 0.67 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)