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.007633/0.007633, allocations: 102.4 kB / 15.73 MB, free: 6.477 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.001419/0.001419, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.755/1.755, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.689/0.689, allocations: 95.47 MB / 365.4 MB, free: 9.781 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.001474/0.001474, allocations: 70.34 kB / 0.5037 GB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1699, allocations: 69.09 MB / 0.5712 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.0103/0.1803, allocations: 8.219 MB / 0.5792 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.1885, allocations: 4.847 MB / 0.5839 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1901, allocations: 39.75 kB / 0.584 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004437/0.1945, allocations: 1.322 MB / 0.5852 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.1971, allocations: 0.7028 MB / 0.5859 GB, free: 9.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1983, allocations: 212.8 kB / 0.5861 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.201, allocations: 1.535 MB / 0.5876 GB, free: 7.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.2019, allocations: 0.5099 MB / 0.5881 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.2033, allocations: 0.6847 MB / 0.5888 GB, free: 6.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.2045, allocations: 0.657 MB / 0.5894 GB, free: 5.406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003786/0.2049, allocations: 68 kB / 0.5895 GB, free: 5.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007542/0.2057, allocations: 195.8 kB / 0.5897 GB, free: 5.148 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004354/0.2061, allocations: 266.9 kB / 0.59 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.2073, allocations: 0.6292 MB / 0.5906 GB, free: 4.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.2099, allocations: 1.9 MB / 0.5924 GB, free: 2.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2099, allocations: 3.938 kB / 0.5924 GB, free: 2.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2099, allocations: 0 / 0.5924 GB, free: 2.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.21, allocations: 0 / 0.5924 GB, free: 2.344 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.002602/0.2126, allocations: 1.827 MB / 0.5942 GB, free: 460 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2126, allocations: 11.98 kB / 0.5942 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.2128, allocations: 162.4 kB / 0.5944 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.2146, allocations: 1.294 MB / 0.5956 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.2146, allocations: 32.98 kB / 0.5957 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.2147, allocations: 32 kB / 0.5957 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.2154, allocations: 450.3 kB / 0.5961 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2154, allocations: 0 / 0.5961 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.2154, allocations: 19.98 kB / 0.5961 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.2155, allocations: 24.92 kB / 0.5962 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.2161, allocations: 427.6 kB / 0.5966 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.2187, allocations: 2.127 MB / 0.5987 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.2196, allocations: 0.504 MB / 0.5992 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.2199, allocations: 210.2 kB / 0.5994 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2199, allocations: 8.562 kB / 0.5994 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.22, allocations: 34.56 kB / 0.5994 GB, free: 10.92 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.22, allocations: 0 / 0.5994 GB, free: 10.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008673/0.2209, allocations: 0.6061 MB / 0.6 GB, free: 10.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2209, allocations: 55.41 kB / 0.6 GB, free: 10.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.2233, allocations: 2.012 MB / 0.602 GB, free: 8.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2233, allocations: 29.7 kB / 0.602 GB, free: 8.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/0.2239, allocations: 0.57 MB / 0.6026 GB, free: 7.613 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.224, allocations: 118.3 kB / 0.6027 GB, free: 7.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.2241, allocations: 69.59 kB / 0.6028 GB, free: 7.422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2242, allocations: 322 kB / 0.6031 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.2245, allocations: 135.9 kB / 0.6032 GB, free: 6.969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.2247, allocations: 185.4 kB / 0.6034 GB, free: 6.781 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.2251, allocations: 329 kB / 0.6037 GB, free: 6.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2251, allocations: 0 / 0.6037 GB, free: 6.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006219/0.2258, allocations: 499.5 kB / 0.6042 GB, free: 5.961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2258, allocations: 4 kB / 0.6042 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2258, allocations: 0 / 0.6042 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2258, allocations: 4 kB / 0.6042 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.2262, allocations: 75.89 kB / 0.6042 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2262, allocations: 3.938 kB / 0.6043 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.2265, allocations: 39.67 kB / 0.6043 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.2265, allocations: 4 kB / 0.6043 GB, free: 5.832 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.0005952/0.2271, allocations: 0.5755 MB / 0.6049 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.2273, allocations: 142.2 kB / 0.605 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.2275, allocations: 166.4 kB / 0.6052 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2275, allocations: 4 kB / 0.6052 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.2276, allocations: 3.938 kB / 0.6052 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2276, allocations: 3.984 kB / 0.6052 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.2293, allocations: 1.405 MB / 0.6065 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2293, allocations: 4.094 kB / 0.6065 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.2298, allocations: 83.83 kB / 0.6066 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.2298, allocations: 4 kB / 0.6066 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2298, allocations: 4 kB / 0.6066 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.2298, allocations: 8 kB / 0.6066 GB, free: 3.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2298, allocations: 3.938 kB / 0.6066 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.2305, allocations: 0.5933 MB / 0.6072 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/0.231, allocations: 331.1 kB / 0.6075 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.2311, allocations: 8 kB / 0.6075 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.2314, allocations: 8 kB / 0.6075 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2314, allocations: 23.91 kB / 0.6076 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.2315, allocations: 8 kB / 0.6076 GB, free: 2.332 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001767/0.2332, allocations: 1.446 MB / 0.609 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2332, allocations: 4 kB / 0.609 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.2338, allocations: 203.8 kB / 0.6092 GB, free: 0.6875 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.0003905/0.2342, allocations: 163.1 kB / 0.6093 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.2348, allocations: 327.7 kB / 0.6097 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2348, allocations: 0 / 0.6097 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.235, allocations: 167.9 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.001747/0.2368, allocations: 0.4884 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.004506/0.2413, allocations: 2.644 MB / 0.6129 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.2429, allocations: 1.525 MB / 0.6144 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007584/0.2437, allocations: 273.3 kB / 0.6146 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.2439, allocations: 71.44 kB / 0.6147 GB, free: 10.96 MB / 494.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2439, allocations: 0 / 0.6147 GB, free: 10.96 MB / 494.1 MB Notification: Performance of Templates: time 0.4222/0.6661, allocations: 18.66 MB / 0.6329 GB, free: 45.83 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)