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.0009487/0.0009487, 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.0009566/0.0009567, allocations: 192.8 kB / 16.14 MB, free: 6.66 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.124/1.124, allocations: 205.1 MB / 222 MB, free: 4.719 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.438/1.438, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001174/0.001174, allocations: 64.14 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006476/0.1798, allocations: 7.281 MB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005407/0.1852, allocations: 5.155 MB / 0.7948 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/0.1859, allocations: 35.81 kB / 0.7948 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.1891, allocations: 1.59 MB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0009699/0.1901, allocations: 0.5278 MB / 0.7969 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.1906, allocations: 193.6 kB / 0.7971 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.1923, allocations: 1.974 MB / 0.799 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005542/0.1928, allocations: 0.5337 MB / 0.7995 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.1934, allocations: 0.6411 MB / 0.8002 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.1941, allocations: 0.8045 MB / 0.801 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1942, allocations: 72 kB / 0.801 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.1947, allocations: 187.8 kB / 0.8012 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.1949, allocations: 318.5 kB / 0.8015 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.1955, allocations: 0.7765 MB / 0.8023 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.197, allocations: 2.044 MB / 0.8043 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.197, allocations: 4 kB / 0.8043 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.52e-07/0.197, allocations: 0 / 0.8043 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.1971, allocations: 7.938 kB / 0.8043 GB, free: 7.809 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.002491/0.1996, allocations: 2.159 MB / 0.8064 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1996, allocations: 8.031 kB / 0.8064 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.1998, allocations: 206.4 kB / 0.8066 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.2016, allocations: 1.567 MB / 0.8081 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2016, allocations: 28.98 kB / 0.8081 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.2017, allocations: 36 kB / 0.8082 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.2023, allocations: 442.3 kB / 0.8086 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2023, allocations: 0 / 0.8086 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.2023, allocations: 15.98 kB / 0.8086 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.2024, allocations: 24.98 kB / 0.8086 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.2029, allocations: 423.7 kB / 0.809 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.2053, allocations: 2.335 MB / 0.8113 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.2061, allocations: 0.4962 MB / 0.8118 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.2064, allocations: 213.2 kB / 0.812 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2064, allocations: 288 / 0.812 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.2064, allocations: 34.84 kB / 0.8121 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.022e-06/0.2065, allocations: 0 / 0.8121 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0008122/0.2073, allocations: 0.6378 MB / 0.8127 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.2073, allocations: 59.39 kB / 0.8127 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.2098, allocations: 2.571 MB / 0.8152 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2099, allocations: 37.7 kB / 0.8153 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.2105, allocations: 0.7721 MB / 0.816 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.2106, allocations: 114.2 kB / 0.8161 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.2107, allocations: 73.59 kB / 0.8162 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.2107, allocations: 318.5 kB / 0.8165 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.2109, allocations: 131.9 kB / 0.8166 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.2111, allocations: 178 kB / 0.8168 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.2115, allocations: 330.2 kB / 0.8171 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2115, allocations: 4.031 kB / 0.8171 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005734/0.2121, allocations: 0.5262 MB / 0.8176 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2121, allocations: 8 kB / 0.8176 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2121, allocations: 3.984 kB / 0.8177 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2122, allocations: 0 / 0.8177 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.2125, allocations: 75.91 kB / 0.8177 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2125, allocations: 7.984 kB / 0.8177 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.2128, allocations: 27.69 kB / 0.8178 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.2128, allocations: 7.938 kB / 0.8178 GB, free: 9.586 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.000605/0.2134, allocations: 0.6925 MB / 0.8184 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.2136, allocations: 189.6 kB / 0.8186 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.2138, allocations: 215.2 kB / 0.8188 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2138, allocations: 4 kB / 0.8188 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2138, allocations: 3.938 kB / 0.8188 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2139, allocations: 3.984 kB / 0.8188 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.2155, allocations: 1.574 MB / 0.8204 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2155, allocations: 4 kB / 0.8204 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.2157, allocations: 75.89 kB / 0.8205 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2158, allocations: 4 kB / 0.8205 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2158, allocations: 8 kB / 0.8205 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2158, allocations: 4 kB / 0.8205 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2158, allocations: 3.938 kB / 0.8205 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.2164, allocations: 0.6553 MB / 0.8211 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.2168, allocations: 374.5 kB / 0.8215 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.2169, allocations: 8 kB / 0.8215 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.2173, allocations: 11.94 kB / 0.8215 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2173, allocations: 23.91 kB / 0.8215 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2174, allocations: 12 kB / 0.8215 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001893/0.2193, allocations: 1.851 MB / 0.8233 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2193, allocations: 0 / 0.8233 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005157/0.2198, allocations: 223.8 kB / 0.8235 GB, free: 3.52 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.0003118/0.2201, allocations: 160.2 kB / 0.8237 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.2205, allocations: 328.4 kB / 0.824 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2205, allocations: 4 kB / 0.824 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.2207, allocations: 172.3 kB / 0.8242 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.2227, allocations: 0.5768 MB / 0.8247 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.2263, allocations: 3.805 MB / 0.8285 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.2274, allocations: 1.754 MB / 0.8302 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005732/0.2279, allocations: 315 kB / 0.8305 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.2281, allocations: 79.44 kB / 0.8305 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.2281, allocations: 0 / 0.8305 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.02746/0.2556, allocations: 21.05 MB / 0.8511 GB, free: 7.527 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)