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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 132 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.001166/0.001166, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.4 MB, free: 4.555 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.503/1.503, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001282/0.001282, allocations: 66.39 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1785, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007542/0.1861, allocations: 7.325 MB / 0.7905 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006297/0.1924, allocations: 5.216 MB / 0.7956 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006967/0.1931, allocations: 43.75 kB / 0.7957 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.1965, allocations: 1.687 MB / 0.7973 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1976, allocations: 0.6086 MB / 0.7979 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.1981, allocations: 226.4 kB / 0.7981 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.1995, allocations: 1.744 MB / 0.7998 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005623/0.2001, allocations: 0.5775 MB / 0.8004 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.2006, allocations: 0.6724 MB / 0.801 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.2014, allocations: 0.8162 MB / 0.8018 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.2015, allocations: 84 kB / 0.8019 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.2019, allocations: 203.8 kB / 0.8021 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.2022, allocations: 326.6 kB / 0.8024 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.2027, allocations: 0.7921 MB / 0.8032 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2043, allocations: 2.192 MB / 0.8053 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2043, allocations: 3.938 kB / 0.8053 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2043, allocations: 4 kB / 0.8053 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.2043, allocations: 0 / 0.8053 GB, free: 6.879 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.002422/0.2068, allocations: 2.198 MB / 0.8075 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.2068, allocations: 15.97 kB / 0.8075 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.207, allocations: 202.3 kB / 0.8077 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.2088, allocations: 1.575 MB / 0.8092 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.2089, allocations: 29 kB / 0.8093 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.2089, allocations: 32 kB / 0.8093 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.2095, allocations: 450.3 kB / 0.8097 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2095, allocations: 0 / 0.8097 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.2095, allocations: 16 kB / 0.8097 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.2096, allocations: 20.98 kB / 0.8098 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.2101, allocations: 427.6 kB / 0.8102 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.2127, allocations: 2.335 MB / 0.8124 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.2136, allocations: 0.504 MB / 0.8129 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.2138, allocations: 201.3 kB / 0.8131 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.2138, allocations: 4.281 kB / 0.8131 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2139, allocations: 38.84 kB / 0.8132 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.252e-06/0.2139, allocations: 0 / 0.8132 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0007892/0.2147, allocations: 0.6412 MB / 0.8138 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2147, allocations: 55.41 kB / 0.8138 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.2173, allocations: 2.575 MB / 0.8164 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2174, allocations: 37.7 kB / 0.8164 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006061/0.218, allocations: 0.7643 MB / 0.8171 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.2181, allocations: 118.3 kB / 0.8173 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.321e-05/0.2182, allocations: 69.59 kB / 0.8173 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.2182, allocations: 318.5 kB / 0.8176 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2184, allocations: 139.9 kB / 0.8178 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.2187, allocations: 178.6 kB / 0.8179 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.2191, allocations: 325.7 kB / 0.8182 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2191, allocations: 4 kB / 0.8182 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006377/0.2197, allocations: 0.5301 MB / 0.8188 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2197, allocations: 4 kB / 0.8188 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2197, allocations: 0 / 0.8188 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2198, allocations: 4 kB / 0.8188 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.2201, allocations: 79.89 kB / 0.8188 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2201, allocations: 0 / 0.8188 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.2204, allocations: 27.69 kB / 0.8189 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2204, allocations: 8 kB / 0.8189 GB, free: 8.613 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.0006137/0.221, allocations: 0.6925 MB / 0.8196 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.2212, allocations: 189.5 kB / 0.8197 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.2215, allocations: 223.2 kB / 0.82 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2215, allocations: 4 kB / 0.82 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2215, allocations: 0 / 0.82 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2215, allocations: 3.984 kB / 0.82 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.2231, allocations: 1.574 MB / 0.8215 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2232, allocations: 0 / 0.8215 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.2234, allocations: 79.89 kB / 0.8216 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2235, allocations: 0 / 0.8216 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2235, allocations: 8 kB / 0.8216 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.2235, allocations: 0 / 0.8216 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2235, allocations: 11.88 kB / 0.8216 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.2241, allocations: 0.6448 MB / 0.8222 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.2245, allocations: 378.5 kB / 0.8226 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.2247, allocations: 8 kB / 0.8226 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.225, allocations: 4 kB / 0.8226 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.2251, allocations: 27.91 kB / 0.8226 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.2251, allocations: 8 kB / 0.8226 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002054/0.2272, allocations: 1.854 MB / 0.8244 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2272, allocations: 0 / 0.8244 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005323/0.2277, allocations: 227.8 kB / 0.8247 GB, free: 2.551 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.0003072/0.228, allocations: 159.8 kB / 0.8248 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.2286, allocations: 401.2 kB / 0.8252 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2286, allocations: 0 / 0.8252 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.2288, allocations: 175.8 kB / 0.8254 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.2307, allocations: 0.6239 MB / 0.826 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.2347, allocations: 3.395 MB / 0.8293 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.2359, allocations: 1.753 MB / 0.831 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006109/0.2365, allocations: 319 kB / 0.8313 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2366, allocations: 79.44 kB / 0.8314 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.2366, allocations: 0 / 0.8314 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.03106/0.2677, allocations: 21.83 MB / 0.8527 GB, free: 6.102 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)