Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.InfraredRadiationExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, 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.001182/0.001182, allocations: 191.9 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.182/1.182, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.489/1.489, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001293/0.001293, allocations: 72.88 kB / 0.6715 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007577/0.1772, allocations: 7.217 MB / 0.7904 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006455/0.1837, allocations: 5.591 MB / 0.7959 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005628/0.1842, allocations: 39.75 kB / 0.7959 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00327/0.1875, allocations: 1.702 MB / 0.7976 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1886, allocations: 0.6205 MB / 0.7982 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.1895, allocations: 414.7 kB / 0.7986 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.1917, allocations: 2.949 MB / 0.8015 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.1923, allocations: 0.541 MB / 0.802 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.1933, allocations: 1.067 MB / 0.803 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.1949, allocations: 1.635 MB / 0.8046 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.1952, allocations: 200 kB / 0.8048 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.1958, allocations: 323.8 kB / 0.8051 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005483/0.1964, allocations: 0.7049 MB / 0.8058 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.1974, allocations: 1.217 MB / 0.807 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.1999, allocations: 3.458 MB / 0.8104 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1999, allocations: 0 / 0.8104 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1999, allocations: 0 / 0.8104 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.2, allocations: 0 / 0.8104 GB, free: 1.668 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.005708/0.2057, allocations: 3.413 MB / 0.8137 GB, free: 14.19 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2057, allocations: 8.031 kB / 0.8137 GB, free: 14.18 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.2061, allocations: 249.8 kB / 0.814 GB, free: 13.93 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.2084, allocations: 1.89 MB / 0.8158 GB, free: 11.98 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.2085, allocations: 65 kB / 0.8159 GB, free: 11.91 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.2087, allocations: 88 kB / 0.816 GB, free: 11.83 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/0.2096, allocations: 0.7325 MB / 0.8167 GB, free: 11.09 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2096, allocations: 0 / 0.8167 GB, free: 11.09 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.2097, allocations: 20 kB / 0.8167 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2097, allocations: 19.88 kB / 0.8167 GB, free: 11.05 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.211, allocations: 1.003 MB / 0.8177 GB, free: 10.05 MB / 0.6388 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009252/0.2203, allocations: 4.57 MB / 0.8221 GB, free: 5.336 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2215, allocations: 0.8068 MB / 0.8229 GB, free: 4.52 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/0.2221, allocations: 0.5515 MB / 0.8235 GB, free: 3.965 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.2221, allocations: 8.359 kB / 0.8235 GB, free: 3.957 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2222, allocations: 42.88 kB / 0.8235 GB, free: 3.906 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.2222, allocations: 0 / 0.8235 GB, free: 3.906 MB / 0.6388 GB Notification: Performance of matching and sorting (n=45): time 0.009653/0.2318, allocations: 3.669 MB / 0.8271 GB, free: 208 kB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2319, allocations: 59.16 kB / 0.8272 GB, free: 136 kB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.2353, allocations: 2.976 MB / 0.8301 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.2356, allocations: 53.7 kB / 0.8301 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/0.2364, allocations: 0.8513 MB / 0.831 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.2365, allocations: 173.6 kB / 0.8311 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005271/0.2371, allocations: 335.5 kB / 0.8314 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2372, allocations: 361.9 kB / 0.8318 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.2389, allocations: 1.39 MB / 0.8331 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.2409, allocations: 1.636 MB / 0.8347 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.2432, allocations: 1.96 MB / 0.8367 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2432, allocations: 0 / 0.8367 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006373/0.2496, allocations: 4.141 MB / 0.8407 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2496, allocations: 8 kB / 0.8407 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2497, allocations: 0 / 0.8407 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.2525, allocations: 1.102 MB / 0.8418 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.2536, allocations: 227.7 kB / 0.842 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.264, allocations: 7.946 MB / 0.8498 GB, free: 8.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.2658, allocations: 258.2 kB / 0.85 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.266, allocations: 47.92 kB / 0.85 GB, free: 8.469 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (127): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.267, allocations: 0.8063 MB / 0.8508 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.2672, allocations: 213.1 kB / 0.851 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.2676, allocations: 254.7 kB / 0.8513 GB, free: 7.188 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2676, allocations: 4 kB / 0.8513 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.2676, allocations: 8 kB / 0.8513 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2677, allocations: 3.984 kB / 0.8513 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.2689, allocations: 1.259 MB / 0.8525 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2689, allocations: 0 / 0.8525 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.269, allocations: 8 kB / 0.8525 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.2716, allocations: 1.03 MB / 0.8535 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.2717, allocations: 8 kB / 0.8535 GB, free: 4.812 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.282, allocations: 7.957 MB / 0.8613 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.282, allocations: 0 / 0.8613 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.2854, allocations: 1.985 MB / 0.8633 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/0.286, allocations: 453.9 kB / 0.8637 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.2862, allocations: 15.98 kB / 0.8637 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.2868, allocations: 27.91 kB / 0.8637 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.2869, allocations: 39.94 kB / 0.8638 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.287, allocations: 15.94 kB / 0.8638 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002427/0.2894, allocations: 2.055 MB / 0.8658 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2894, allocations: 0 / 0.8658 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001329/0.2908, allocations: 0.6092 MB / 0.8664 GB, free: 7.465 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003338/0.2911, allocations: 163.7 kB / 0.8665 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004282/0.2954, allocations: 2.85 MB / 0.8693 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2954, allocations: 0 / 0.8693 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.2974, allocations: 1.058 MB / 0.8704 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.2995, allocations: 0.6699 MB / 0.871 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.3043, allocations: 4.176 MB / 0.8751 GB, free: 14.51 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.3057, allocations: 1.923 MB / 0.877 GB, free: 12.55 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.0009609/0.3067, allocations: 333.7 kB / 0.8773 GB, free: 12.22 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.3069, allocations: 83.44 kB / 0.8774 GB, free: 12.14 MB / 0.7013 GB Notification: Performance of SimCode: time 5.41e-07/0.3069, allocations: 4 kB / 0.8774 GB, free: 12.14 MB / 0.7013 GB Notification: Performance of Templates: time 0.0539/0.3608, allocations: 42.28 MB / 0.9187 GB, free: 2.289 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1)