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.001146/0.001146, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 197.4 kB / 16.64 MB, free: 6.449 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.18/1.18, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.502/1.502, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001304/0.001304, allocations: 68.44 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1748, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007822/0.1826, allocations: 7.312 MB / 0.7913 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006534/0.1892, allocations: 5.224 MB / 0.7964 GB, free: 116 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008244/0.1901, allocations: 51.69 kB / 0.7964 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.1936, allocations: 1.687 MB / 0.7981 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.195, allocations: 0.6088 MB / 0.7987 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.1956, allocations: 230.5 kB / 0.7989 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.1972, allocations: 1.745 MB / 0.8006 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005927/0.1978, allocations: 0.5853 MB / 0.8012 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.1985, allocations: 0.6802 MB / 0.8018 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007802/0.1992, allocations: 0.8084 MB / 0.8026 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1994, allocations: 80 kB / 0.8027 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.1998, allocations: 203.8 kB / 0.8029 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.2, allocations: 330.5 kB / 0.8032 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006167/0.2006, allocations: 0.7882 MB / 0.804 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.2024, allocations: 2.211 MB / 0.8061 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2024, allocations: 0 / 0.8061 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2024, allocations: 0 / 0.8061 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.2024, allocations: 0 / 0.8061 GB, free: 6.062 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.002482/0.2049, allocations: 2.194 MB / 0.8083 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2049, allocations: 8.031 kB / 0.8083 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.2052, allocations: 202.4 kB / 0.8085 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.2072, allocations: 1.661 MB / 0.8101 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2073, allocations: 29 kB / 0.8101 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.2073, allocations: 35.98 kB / 0.8102 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.2079, allocations: 450.3 kB / 0.8106 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2079, allocations: 0 / 0.8106 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.208, allocations: 16 kB / 0.8106 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.208, allocations: 21 kB / 0.8106 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/0.2086, allocations: 427.6 kB / 0.811 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.2111, allocations: 2.299 MB / 0.8133 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.212, allocations: 0.504 MB / 0.8138 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.2123, allocations: 204.2 kB / 0.814 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.2123, allocations: 288 / 0.814 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2123, allocations: 42.83 kB / 0.814 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.183e-06/0.2123, allocations: 4 kB / 0.814 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0008189/0.2131, allocations: 0.6334 MB / 0.8146 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2132, allocations: 59.34 kB / 0.8147 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.2159, allocations: 2.555 MB / 0.8172 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2159, allocations: 33.7 kB / 0.8172 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006345/0.2166, allocations: 0.7721 MB / 0.818 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.2167, allocations: 110.3 kB / 0.8181 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.2168, allocations: 69.59 kB / 0.8181 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2169, allocations: 326.5 kB / 0.8184 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.2171, allocations: 135.9 kB / 0.8186 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2173, allocations: 174.6 kB / 0.8187 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.2177, allocations: 333.6 kB / 0.8191 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2177, allocations: 0 / 0.8191 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000616/0.2183, allocations: 0.5301 MB / 0.8196 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2183, allocations: 4 kB / 0.8196 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.2184, allocations: 4 kB / 0.8196 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2184, allocations: 4.031 kB / 0.8196 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.2187, allocations: 75.89 kB / 0.8197 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2187, allocations: 0 / 0.8197 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.219, allocations: 27.69 kB / 0.8197 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.219, allocations: 12 kB / 0.8197 GB, free: 7.77 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.0006547/0.2197, allocations: 0.6847 MB / 0.8204 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.2199, allocations: 193.6 kB / 0.8206 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.2201, allocations: 211.2 kB / 0.8208 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2201, allocations: 11.98 kB / 0.8208 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2202, allocations: 0 / 0.8208 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2202, allocations: 0 / 0.8208 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.222, allocations: 1.558 MB / 0.8223 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.222, allocations: 4 kB / 0.8223 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.2222, allocations: 79.89 kB / 0.8224 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2223, allocations: 4 kB / 0.8224 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2223, allocations: 8.094 kB / 0.8224 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.2223, allocations: 4 kB / 0.8224 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2223, allocations: 3.938 kB / 0.8224 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.2229, allocations: 0.6447 MB / 0.823 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.2234, allocations: 374.5 kB / 0.8234 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.2235, allocations: 8 kB / 0.8234 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.2239, allocations: 8 kB / 0.8234 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.2239, allocations: 31.78 kB / 0.8234 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.2239, allocations: 12 kB / 0.8234 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00199/0.2259, allocations: 1.831 MB / 0.8252 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2259, allocations: 0 / 0.8252 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005098/0.2265, allocations: 227.8 kB / 0.8254 GB, free: 1.746 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.0003204/0.2268, allocations: 173.3 kB / 0.8256 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.2273, allocations: 325.3 kB / 0.8259 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2273, allocations: 0 / 0.8259 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2275, allocations: 167.8 kB / 0.8261 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.2293, allocations: 0.63 MB / 0.8267 GB, free: 492 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.2331, allocations: 3.348 MB / 0.83 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.2342, allocations: 1.754 MB / 0.8317 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005676/0.2348, allocations: 315.2 kB / 0.832 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.2349, allocations: 83.44 kB / 0.832 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.2349, allocations: 4 kB / 0.8321 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.03005/0.265, allocations: 21.71 MB / 0.8533 GB, free: 5.52 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)