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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00119/0.00119, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.272/1.272, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.524/1.524, allocations: 292.3 MB / 0.5486 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.001219/0.001219, allocations: 72.03 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006502/0.1633, allocations: 7.278 MB / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004964/0.1682, allocations: 5.139 MB / 0.7951 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004581/0.1687, allocations: 35.81 kB / 0.7951 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.1719, allocations: 1.61 MB / 0.7967 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0009332/0.1728, allocations: 0.5278 MB / 0.7972 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.1734, allocations: 200.4 kB / 0.7974 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1748, allocations: 1.776 MB / 0.7991 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005848/0.1754, allocations: 0.5736 MB / 0.7997 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.176, allocations: 0.684 MB / 0.8004 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007133/0.1767, allocations: 0.8357 MB / 0.8012 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1769, allocations: 80 kB / 0.8013 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.1772, allocations: 203.8 kB / 0.8015 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.1775, allocations: 334.5 kB / 0.8018 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.178, allocations: 0.7843 MB / 0.8025 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.1795, allocations: 2.192 MB / 0.8047 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1795, allocations: 0 / 0.8047 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1795, allocations: 0 / 0.8047 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.1796, allocations: 0 / 0.8047 GB, free: 7.461 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.002313/0.1819, allocations: 2.209 MB / 0.8068 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1819, allocations: 8.031 kB / 0.8068 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.717e-05/0.182, allocations: 82.7 kB / 0.8069 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1822, allocations: 202.3 kB / 0.8071 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.184, allocations: 1.571 MB / 0.8087 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.184, allocations: 33 kB / 0.8087 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1841, allocations: 35.98 kB / 0.8087 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.1846, allocations: 450.3 kB / 0.8091 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1847, allocations: 3.984 kB / 0.8092 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.1847, allocations: 16 kB / 0.8092 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.1847, allocations: 24.92 kB / 0.8092 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.1853, allocations: 423.7 kB / 0.8096 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1877, allocations: 2.335 MB / 0.8119 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.1885, allocations: 0.4922 MB / 0.8124 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.1887, allocations: 201.3 kB / 0.8125 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1888, allocations: 4.281 kB / 0.8126 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1888, allocations: 42.83 kB / 0.8126 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.1888, allocations: 0 / 0.8126 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0007571/0.1896, allocations: 0.6339 MB / 0.8132 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.1896, allocations: 55.41 kB / 0.8133 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.1922, allocations: 2.583 MB / 0.8158 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1922, allocations: 29.7 kB / 0.8158 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/0.1928, allocations: 0.7682 MB / 0.8166 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.1929, allocations: 118.3 kB / 0.8167 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.193, allocations: 69.61 kB / 0.8167 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.1931, allocations: 322.5 kB / 0.8171 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1932, allocations: 139.9 kB / 0.8172 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1934, allocations: 182 kB / 0.8174 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.1938, allocations: 322.3 kB / 0.8177 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1938, allocations: 0 / 0.8177 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005759/0.1944, allocations: 0.5301 MB / 0.8182 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1944, allocations: 8.031 kB / 0.8182 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1944, allocations: 0 / 0.8182 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1945, allocations: 0 / 0.8182 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.1948, allocations: 79.89 kB / 0.8183 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1948, allocations: 4 kB / 0.8183 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.1951, allocations: 35.61 kB / 0.8183 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1951, allocations: 8 kB / 0.8183 GB, free: 9.094 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.0005896/0.1957, allocations: 0.6886 MB / 0.819 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.1959, allocations: 189.6 kB / 0.8192 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1961, allocations: 219.2 kB / 0.8194 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1961, allocations: 4 kB / 0.8194 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1961, allocations: 0 / 0.8194 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1961, allocations: 3.984 kB / 0.8194 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.1977, allocations: 1.57 MB / 0.8209 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1978, allocations: 0 / 0.8209 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.198, allocations: 83.98 kB / 0.821 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.198, allocations: 0 / 0.821 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1981, allocations: 8 kB / 0.821 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1981, allocations: 0 / 0.821 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1981, allocations: 11.88 kB / 0.821 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.1986, allocations: 0.6436 MB / 0.8216 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.1991, allocations: 378.4 kB / 0.822 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.1992, allocations: 7.984 kB / 0.822 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.1996, allocations: 15.94 kB / 0.822 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1996, allocations: 23.91 kB / 0.8221 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1996, allocations: 8 kB / 0.8221 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001867/0.2015, allocations: 1.847 MB / 0.8239 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2015, allocations: 0 / 0.8239 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005093/0.202, allocations: 239.7 kB / 0.8241 GB, free: 3.027 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.001019/0.203, allocations: 1.257 MB / 0.8253 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.2036, allocations: 392.4 kB / 0.8257 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2036, allocations: 0 / 0.8257 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.2038, allocations: 176 kB / 0.8259 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.2057, allocations: 0.6419 MB / 0.8265 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.2269, allocations: 17.19 MB / 0.8433 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.228, allocations: 1.751 MB / 0.845 GB, free: 12.75 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007744/0.2288, allocations: 352.9 kB / 0.8453 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/0.2294, allocations: 0.6047 MB / 0.8459 GB, free: 11.79 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.2294, allocations: 0 / 0.8459 GB, free: 11.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3767/0.6061, allocations: 39.98 MB / 0.885 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.6063, allocations: 285.9 kB / 0.8852 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.007, allocations: 1.375 kB / 0.8852 GB, free: 4.008 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)