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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 108 kB / 15.61 MB, free: 152 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.001171/0.001171, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.439/1.439, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.618/1.618, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001399/0.001399, allocations: 70.64 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.206, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008197/0.2143, allocations: 7.324 MB / 0.7906 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006922/0.2213, allocations: 5.22 MB / 0.7957 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.2225, allocations: 39.81 kB / 0.7958 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004438/0.227, allocations: 1.691 MB / 0.7974 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.2288, allocations: 0.601 MB / 0.798 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007045/0.2295, allocations: 237.9 kB / 0.7982 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.2313, allocations: 1.74 MB / 0.7999 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.232, allocations: 0.5775 MB / 0.8005 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006624/0.2326, allocations: 0.6725 MB / 0.8011 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008221/0.2335, allocations: 0.8161 MB / 0.8019 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.2336, allocations: 84 kB / 0.802 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.2341, allocations: 195.8 kB / 0.8022 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.2344, allocations: 338.5 kB / 0.8025 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.235, allocations: 0.7882 MB / 0.8033 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.2369, allocations: 2.192 MB / 0.8054 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2369, allocations: 0 / 0.8054 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2369, allocations: 0 / 0.8054 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.2369, allocations: 3.938 kB / 0.8054 GB, free: 6.773 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.003025/0.24, allocations: 2.206 MB / 0.8076 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.24, allocations: 8.031 kB / 0.8076 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.929e-05/0.2401, allocations: 86.69 kB / 0.8077 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.2403, allocations: 202.3 kB / 0.8079 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.2423, allocations: 1.567 MB / 0.8094 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2423, allocations: 32.98 kB / 0.8094 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.2424, allocations: 35.94 kB / 0.8095 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.243, allocations: 446.3 kB / 0.8099 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.243, allocations: 0 / 0.8099 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.2431, allocations: 19.98 kB / 0.8099 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.2431, allocations: 20.98 kB / 0.8099 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.2437, allocations: 427.7 kB / 0.8104 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.2465, allocations: 2.331 MB / 0.8126 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008754/0.2474, allocations: 0.4962 MB / 0.8131 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.2476, allocations: 205.3 kB / 0.8133 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.2476, allocations: 8.281 kB / 0.8133 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2477, allocations: 42.83 kB / 0.8134 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.2477, allocations: 0 / 0.8134 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0008644/0.2486, allocations: 0.6301 MB / 0.814 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.2486, allocations: 55.41 kB / 0.814 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.2514, allocations: 2.579 MB / 0.8165 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.2515, allocations: 33.7 kB / 0.8166 GB, free: 11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006571/0.2521, allocations: 0.7682 MB / 0.8173 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.2522, allocations: 122.3 kB / 0.8174 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2523, allocations: 65.61 kB / 0.8175 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.2524, allocations: 326.5 kB / 0.8178 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.2526, allocations: 135.9 kB / 0.8179 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.2529, allocations: 178 kB / 0.8181 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.2533, allocations: 326.3 kB / 0.8184 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2533, allocations: 0 / 0.8184 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006594/0.2539, allocations: 0.5263 MB / 0.8189 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.254, allocations: 4 kB / 0.8189 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.254, allocations: 0 / 0.8189 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.254, allocations: 4 kB / 0.8189 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2543, allocations: 79.89 kB / 0.819 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2544, allocations: 0 / 0.819 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.2547, allocations: 35.61 kB / 0.8191 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2548, allocations: 12 kB / 0.8191 GB, free: 8.414 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.0006627/0.2554, allocations: 0.6886 MB / 0.8197 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.2556, allocations: 185.6 kB / 0.8199 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.2559, allocations: 219.2 kB / 0.8201 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2559, allocations: 7.938 kB / 0.8201 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2559, allocations: 0 / 0.8201 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2559, allocations: 7.922 kB / 0.8201 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.2577, allocations: 1.574 MB / 0.8217 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2577, allocations: 4.094 kB / 0.8217 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.258, allocations: 79.89 kB / 0.8218 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.258, allocations: 0 / 0.8218 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.258, allocations: 8 kB / 0.8218 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.258, allocations: 7.984 kB / 0.8218 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.258, allocations: 3.938 kB / 0.8218 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.2587, allocations: 0.6485 MB / 0.8224 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.2591, allocations: 374.5 kB / 0.8228 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.2593, allocations: 11.98 kB / 0.8228 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.2597, allocations: 8 kB / 0.8228 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.2597, allocations: 23.91 kB / 0.8228 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.2597, allocations: 8 kB / 0.8228 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002112/0.2618, allocations: 1.843 MB / 0.8246 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2619, allocations: 4 kB / 0.8246 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005974/0.2625, allocations: 235.8 kB / 0.8248 GB, free: 2.348 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.00118/0.2636, allocations: 1.242 MB / 0.8261 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006107/0.2643, allocations: 392.1 kB / 0.8264 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2643, allocations: 0 / 0.8264 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.2645, allocations: 180 kB / 0.8266 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.2667, allocations: 0.6199 MB / 0.8272 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.2861, allocations: 16.57 MB / 0.8434 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.2874, allocations: 1.75 MB / 0.8451 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008797/0.2883, allocations: 315.1 kB / 0.8454 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/0.2889, allocations: 0.5891 MB / 0.846 GB, free: 11.81 MB / 0.67 GB Notification: Performance of SimCode: time 1.282e-06/0.2889, allocations: 0 / 0.846 GB, free: 11.81 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06376/0.3527, allocations: 39.32 MB / 0.8844 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.713, allocations: 8.25 kB / 0.8844 GB, free: 5.008 MB / 0.7012 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)