Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007415/0.007415, allocations: 101.2 kB / 15.73 MB, free: 6.445 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.001471/0.001471, allocations: 196.3 kB / 16.68 MB, free: 6.355 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6697/0.6697, allocations: 95.48 MB / 365.4 MB, free: 9.77 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 82.02 kB / 0.5037 GB, free: 13.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1688, allocations: 69.08 MB / 0.5712 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008911/0.1778, allocations: 8.222 MB / 0.5792 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.185, allocations: 4.84 MB / 0.5839 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1865, allocations: 43.75 kB / 0.5839 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004085/0.1906, allocations: 1.318 MB / 0.5852 GB, free: 9.742 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.1925, allocations: 0.6988 MB / 0.5859 GB, free: 9.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1935, allocations: 215.5 kB / 0.5861 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.1958, allocations: 1.52 MB / 0.5876 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.1965, allocations: 0.5216 MB / 0.5881 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/0.1975, allocations: 0.673 MB / 0.5888 GB, free: 6.078 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.1983, allocations: 0.657 MB / 0.5894 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1984, allocations: 72 kB / 0.5895 GB, free: 5.348 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.1989, allocations: 199.8 kB / 0.5897 GB, free: 5.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.1992, allocations: 266.9 kB / 0.5899 GB, free: 4.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.1998, allocations: 0.6331 MB / 0.5905 GB, free: 4.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.2017, allocations: 1.888 MB / 0.5924 GB, free: 2.359 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2018, allocations: 0 / 0.5924 GB, free: 2.359 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2018, allocations: 7.938 kB / 0.5924 GB, free: 2.352 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.2018, allocations: 0 / 0.5924 GB, free: 2.352 MB / 462.1 MB 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.002545/0.2043, allocations: 1.827 MB / 0.5942 GB, free: 468 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2044, allocations: 15.98 kB / 0.5942 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.2046, allocations: 162.4 kB / 0.5944 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.2065, allocations: 1.298 MB / 0.5956 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2065, allocations: 25 kB / 0.5956 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.2066, allocations: 39.98 kB / 0.5957 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.2073, allocations: 446.3 kB / 0.5961 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2073, allocations: 0 / 0.5961 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.2073, allocations: 12 kB / 0.5961 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.2074, allocations: 28.88 kB / 0.5961 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.208, allocations: 427.6 kB / 0.5966 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.2106, allocations: 2.135 MB / 0.5986 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.2116, allocations: 0.5001 MB / 0.5991 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.2118, allocations: 205.2 kB / 0.5993 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2119, allocations: 8.5 kB / 0.5993 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2119, allocations: 38.5 kB / 0.5994 GB, free: 10.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.2119, allocations: 4 kB / 0.5994 GB, free: 10.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008561/0.2128, allocations: 0.5984 MB / 0.6 GB, free: 10.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2128, allocations: 51.41 kB / 0.6 GB, free: 10.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.2151, allocations: 2.019 MB / 0.602 GB, free: 8.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.2152, allocations: 29.7 kB / 0.602 GB, free: 8.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.2157, allocations: 0.57 MB / 0.6026 GB, free: 7.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.063e-05/0.2158, allocations: 118.3 kB / 0.6027 GB, free: 7.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2159, allocations: 69.59 kB / 0.6027 GB, free: 7.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.216, allocations: 318 kB / 0.603 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2162, allocations: 139.9 kB / 0.6032 GB, free: 6.973 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.2165, allocations: 193.4 kB / 0.6034 GB, free: 6.777 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.2169, allocations: 317.1 kB / 0.6037 GB, free: 6.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2169, allocations: 0 / 0.6037 GB, free: 6.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006116/0.2175, allocations: 499.4 kB / 0.6041 GB, free: 5.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2176, allocations: 4 kB / 0.6041 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2176, allocations: 0 / 0.6041 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2176, allocations: 0 / 0.6041 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.2179, allocations: 87.89 kB / 0.6042 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2179, allocations: 3.938 kB / 0.6042 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.2182, allocations: 35.67 kB / 0.6043 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2183, allocations: 12.03 kB / 0.6043 GB, free: 5.828 MB / 478.1 MB 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.0006088/0.2189, allocations: 0.5677 MB / 0.6048 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.219, allocations: 142.2 kB / 0.605 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.2194, allocations: 166.4 kB / 0.6051 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2194, allocations: 4 kB / 0.6051 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.2194, allocations: 3.938 kB / 0.6051 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2194, allocations: 3.984 kB / 0.6051 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.2212, allocations: 1.413 MB / 0.6065 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2212, allocations: 0 / 0.6065 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.2215, allocations: 83.83 kB / 0.6066 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2215, allocations: 4 kB / 0.6066 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2215, allocations: 4 kB / 0.6066 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2215, allocations: 4 kB / 0.6066 GB, free: 3.352 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2216, allocations: 0 / 0.6066 GB, free: 3.352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000725/0.2223, allocations: 0.6011 MB / 0.6072 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.2227, allocations: 327.1 kB / 0.6075 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.2229, allocations: 8 kB / 0.6075 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.2232, allocations: 12 kB / 0.6075 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.2232, allocations: 23.91 kB / 0.6076 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.2232, allocations: 12 kB / 0.6076 GB, free: 2.328 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.225, allocations: 1.442 MB / 0.609 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.225, allocations: 0 / 0.609 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005542/0.2256, allocations: 203.7 kB / 0.6092 GB, free: 0.6914 MB / 478.1 MB 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.0003928/0.226, allocations: 164.3 kB / 0.6093 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.2266, allocations: 315.7 kB / 0.6096 GB, free: 228 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2266, allocations: 8 kB / 0.6096 GB, free: 220 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.2269, allocations: 175.7 kB / 0.6098 GB, free: 44 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.2286, allocations: 0.5001 MB / 0.6103 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.2325, allocations: 2.636 MB / 0.6129 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.2337, allocations: 1.522 MB / 0.6143 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006515/0.2344, allocations: 269.3 kB / 0.6146 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.2345, allocations: 71.38 kB / 0.6147 GB, free: 10.97 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2345, allocations: 4 kB / 0.6147 GB, free: 10.97 MB / 494.1 MB Notification: Performance of Templates: time 0.3739/0.6084, allocations: 18.95 MB / 0.6332 GB, free: 45.69 MB / 494.1 MB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)