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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001161/0.001161, allocations: 196.7 kB / 16.14 MB, free: 6.707 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.149/1.149, allocations: 205.1 MB / 222 MB, free: 4.77 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.491/1.491, allocations: 292.3 MB / 0.5484 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.001244/0.001244, allocations: 71.92 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1644, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007022/0.1715, allocations: 7.278 MB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006052/0.1776, allocations: 5.163 MB / 0.7949 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.1787, allocations: 35.81 kB / 0.795 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.1829, allocations: 1.586 MB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1843, allocations: 0.5317 MB / 0.797 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.185, allocations: 189.6 kB / 0.7972 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.1869, allocations: 1.967 MB / 0.7991 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005722/0.1875, allocations: 0.5415 MB / 0.7997 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.1882, allocations: 0.6371 MB / 0.8003 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.1889, allocations: 0.8123 MB / 0.8011 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.1891, allocations: 68 kB / 0.8012 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.1895, allocations: 183.8 kB / 0.8013 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.1897, allocations: 314.5 kB / 0.8016 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005574/0.1903, allocations: 0.7765 MB / 0.8024 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.1917, allocations: 2.048 MB / 0.8044 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1917, allocations: 0 / 0.8044 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1917, allocations: 0 / 0.8044 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.1917, allocations: 0 / 0.8044 GB, free: 7.68 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.00227/0.194, allocations: 2.163 MB / 0.8065 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.194, allocations: 8.031 kB / 0.8065 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.1941, allocations: 86.64 kB / 0.8066 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1943, allocations: 202.4 kB / 0.8068 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.196, allocations: 1.559 MB / 0.8083 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1961, allocations: 32.94 kB / 0.8083 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.1961, allocations: 39.98 kB / 0.8084 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.1967, allocations: 442.3 kB / 0.8088 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1967, allocations: 3.938 kB / 0.8088 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1968, allocations: 16 kB / 0.8088 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.1968, allocations: 24.98 kB / 0.8088 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.1974, allocations: 427.7 kB / 0.8092 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.1998, allocations: 2.331 MB / 0.8115 GB, free: 68 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.2006, allocations: 0.4962 MB / 0.812 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.2009, allocations: 205.3 kB / 0.8122 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.2009, allocations: 4.281 kB / 0.8122 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2009, allocations: 38.83 kB / 0.8122 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.342e-06/0.2009, allocations: 0 / 0.8122 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.000773/0.2017, allocations: 0.6348 MB / 0.8129 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2017, allocations: 55.41 kB / 0.8129 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.2043, allocations: 2.583 MB / 0.8154 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2044, allocations: 29.7 kB / 0.8155 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006004/0.205, allocations: 0.7722 MB / 0.8162 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.2051, allocations: 118.3 kB / 0.8163 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.2052, allocations: 65.61 kB / 0.8164 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.2052, allocations: 326.5 kB / 0.8167 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.2054, allocations: 139.9 kB / 0.8168 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2056, allocations: 174 kB / 0.817 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.206, allocations: 322.3 kB / 0.8173 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.206, allocations: 4.031 kB / 0.8173 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005854/0.2066, allocations: 0.5262 MB / 0.8178 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2067, allocations: 4 kB / 0.8178 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2067, allocations: 3.938 kB / 0.8178 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.2067, allocations: 0 / 0.8178 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.207, allocations: 79.95 kB / 0.8179 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.207, allocations: 3.938 kB / 0.8179 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.2073, allocations: 35.61 kB / 0.818 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2073, allocations: 12 kB / 0.818 GB, free: 9.355 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.0006155/0.2079, allocations: 0.6848 MB / 0.8186 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.2081, allocations: 189.6 kB / 0.8188 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.2084, allocations: 215.2 kB / 0.819 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.2084, allocations: 11.92 kB / 0.819 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2084, allocations: 0 / 0.819 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2084, allocations: 3.984 kB / 0.819 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.21, allocations: 1.578 MB / 0.8206 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2101, allocations: 0 / 0.8206 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.2103, allocations: 75.89 kB / 0.8206 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2103, allocations: 0 / 0.8206 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2103, allocations: 8 kB / 0.8207 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2104, allocations: 0 / 0.8207 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2104, allocations: 11.88 kB / 0.8207 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.211, allocations: 0.6468 MB / 0.8213 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.2114, allocations: 374.5 kB / 0.8217 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.2115, allocations: 11.98 kB / 0.8217 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.2119, allocations: 11.94 kB / 0.8217 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.2119, allocations: 27.91 kB / 0.8217 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.212, allocations: 12 kB / 0.8217 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001943/0.2139, allocations: 1.843 MB / 0.8235 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2139, allocations: 4 kB / 0.8235 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005146/0.2144, allocations: 235.7 kB / 0.8237 GB, free: 3.285 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.001023/0.2155, allocations: 1.241 MB / 0.825 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.2159, allocations: 320.5 kB / 0.8253 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2159, allocations: 0 / 0.8253 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.2161, allocations: 176 kB / 0.8254 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.218, allocations: 0.6015 MB / 0.826 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/0.2401, allocations: 16.87 MB / 0.8425 GB, free: 15.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.2412, allocations: 1.75 MB / 0.8442 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007011/0.2419, allocations: 311 kB / 0.8445 GB, free: 13.14 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/0.2425, allocations: 0.5891 MB / 0.8451 GB, free: 12.55 MB / 0.67 GB Notification: Performance of SimCode: time 4.21e-07/0.2425, allocations: 0 / 0.8451 GB, free: 12.55 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.092/4.334, allocations: 38.41 MB / 0.8826 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/4.334, allocations: 280.8 kB / 0.8828 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/6.509, allocations: 0 / 0.8828 GB, free: 6.293 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)