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.001528/0.001529, allocations: 109.4 kB / 15.69 MB, free: 128 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.001894/0.001894, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.342/1.342, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.668/1.668, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002326/0.002326, allocations: 70.05 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2308, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008833/0.2396, allocations: 7.317 MB / 0.7908 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00773/0.2474, allocations: 5.224 MB / 0.7959 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.2489, allocations: 47.75 kB / 0.7959 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004725/0.2537, allocations: 1.694 MB / 0.7976 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.2558, allocations: 0.601 MB / 0.7982 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2568, allocations: 228.2 kB / 0.7984 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002633/0.2595, allocations: 1.755 MB / 0.8001 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008753/0.2604, allocations: 0.5775 MB / 0.8007 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.2614, allocations: 0.6725 MB / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.2628, allocations: 0.8122 MB / 0.8021 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.2631, allocations: 80 kB / 0.8022 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.2638, allocations: 203.8 kB / 0.8024 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.2643, allocations: 326.5 kB / 0.8027 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2654, allocations: 0.7883 MB / 0.8035 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.2679, allocations: 2.203 MB / 0.8056 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.268, allocations: 4 kB / 0.8056 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.314e-06/0.268, allocations: 0 / 0.8056 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.695e-05/0.2681, allocations: 0 / 0.8056 GB, free: 6.629 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.004011/0.2721, allocations: 2.206 MB / 0.8078 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2721, allocations: 8.031 kB / 0.8078 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.2722, allocations: 78.72 kB / 0.8079 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.2726, allocations: 198.4 kB / 0.808 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.2752, allocations: 1.661 MB / 0.8097 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.2752, allocations: 33 kB / 0.8097 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.2753, allocations: 39.98 kB / 0.8097 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.276, allocations: 442.3 kB / 0.8102 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.276, allocations: 0 / 0.8102 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.276, allocations: 16 kB / 0.8102 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.2761, allocations: 17 kB / 0.8102 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.2767, allocations: 431.6 kB / 0.8106 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.2797, allocations: 2.299 MB / 0.8128 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/0.2807, allocations: 0.5 MB / 0.8133 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.281, allocations: 205.3 kB / 0.8135 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.281, allocations: 4.281 kB / 0.8135 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.281, allocations: 42.83 kB / 0.8136 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.281, allocations: 0 / 0.8136 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0009725/0.282, allocations: 0.6301 MB / 0.8142 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.2821, allocations: 59.34 kB / 0.8142 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003131/0.2852, allocations: 2.556 MB / 0.8167 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.2852, allocations: 33.7 kB / 0.8168 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000689/0.2859, allocations: 0.7682 MB / 0.8175 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.286, allocations: 118.3 kB / 0.8176 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2862, allocations: 69.59 kB / 0.8177 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2863, allocations: 322.5 kB / 0.818 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.2865, allocations: 135.9 kB / 0.8181 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.2867, allocations: 178 kB / 0.8183 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.2871, allocations: 322.3 kB / 0.8186 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2872, allocations: 11.97 kB / 0.8186 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007046/0.2879, allocations: 0.5301 MB / 0.8191 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2879, allocations: 4.938 kB / 0.8192 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2879, allocations: 0 / 0.8192 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2879, allocations: 4 kB / 0.8192 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.2883, allocations: 75.89 kB / 0.8192 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2883, allocations: 0 / 0.8192 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.2887, allocations: 31.69 kB / 0.8193 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2887, allocations: 8 kB / 0.8193 GB, free: 8.246 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.0007219/0.2894, allocations: 0.6925 MB / 0.8199 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.2896, allocations: 185.6 kB / 0.8201 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.2899, allocations: 219.2 kB / 0.8203 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2899, allocations: 4 kB / 0.8203 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2899, allocations: 0 / 0.8203 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2899, allocations: 0 / 0.8203 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.2918, allocations: 1.566 MB / 0.8219 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2919, allocations: 0 / 0.8219 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.2921, allocations: 75.89 kB / 0.8219 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.2921, allocations: 4 kB / 0.8219 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.2922, allocations: 8 kB / 0.8219 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2922, allocations: 4 kB / 0.822 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2922, allocations: 3.938 kB / 0.822 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.2929, allocations: 0.652 MB / 0.8226 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.2934, allocations: 374.5 kB / 0.8229 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.2935, allocations: 4 kB / 0.823 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.2939, allocations: 8 kB / 0.823 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.2939, allocations: 35.83 kB / 0.823 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.294, allocations: 4 kB / 0.823 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002281/0.2962, allocations: 1.839 MB / 0.8248 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2963, allocations: 0 / 0.8248 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006608/0.2969, allocations: 231.8 kB / 0.825 GB, free: 2.211 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.00142/0.2984, allocations: 1.253 MB / 0.8262 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.2989, allocations: 323.7 kB / 0.8265 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2989, allocations: 0 / 0.8265 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2991, allocations: 183.9 kB / 0.8267 GB, free: 444 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.3012, allocations: 0.6246 MB / 0.8273 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.3203, allocations: 14.81 MB / 0.8418 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.3217, allocations: 1.758 MB / 0.8435 GB, free: 14.99 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000815/0.3226, allocations: 307.3 kB / 0.8438 GB, free: 14.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006816/0.3233, allocations: 0.593 MB / 0.8444 GB, free: 14.09 MB / 0.67 GB Notification: Performance of SimCode: time 1.032e-06/0.3233, allocations: 0 / 0.8444 GB, free: 14.09 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/0.3942, allocations: 39.29 MB / 0.8828 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.45, allocations: 11.17 kB / 0.8828 GB, free: 7.344 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)