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.001035/0.001035, 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.001084/0.001084, allocations: 193.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.219/1.219, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.525/1.525, 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.001283/0.001283, allocations: 67.98 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1635, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006898/0.1705, allocations: 7.321 MB / 0.7906 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005516/0.176, allocations: 5.22 MB / 0.7957 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/0.1765, allocations: 39.81 kB / 0.7958 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.1797, allocations: 1.687 MB / 0.7974 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0009255/0.1806, allocations: 0.6088 MB / 0.798 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.1812, allocations: 227.2 kB / 0.7982 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.183, allocations: 1.748 MB / 0.7999 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.1836, allocations: 0.5775 MB / 0.8005 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.1843, allocations: 0.6608 MB / 0.8011 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008654/0.1852, allocations: 0.8239 MB / 0.8019 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.1854, allocations: 80 kB / 0.802 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.1858, allocations: 199.8 kB / 0.8022 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.1862, allocations: 330.5 kB / 0.8025 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.1869, allocations: 0.7921 MB / 0.8033 GB, free: 9 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.1885, allocations: 2.192 MB / 0.8054 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1885, allocations: 4 kB / 0.8054 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1885, allocations: 0 / 0.8054 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.1885, allocations: 0 / 0.8054 GB, free: 6.797 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.002432/0.191, allocations: 2.214 MB / 0.8076 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.191, allocations: 8.031 kB / 0.8076 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.939e-05/0.1911, allocations: 70.72 kB / 0.8077 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.1913, allocations: 206.4 kB / 0.8079 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.1931, allocations: 1.575 MB / 0.8094 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1932, allocations: 28.98 kB / 0.8094 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1932, allocations: 36 kB / 0.8095 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1938, allocations: 446.3 kB / 0.8099 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1938, allocations: 0 / 0.8099 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.1938, allocations: 12 kB / 0.8099 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.1939, allocations: 24.98 kB / 0.8099 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.1944, allocations: 423.7 kB / 0.8103 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.1969, allocations: 2.335 MB / 0.8126 GB, free: 15.14 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.1977, allocations: 0.4962 MB / 0.8131 GB, free: 14.64 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.198, allocations: 213.2 kB / 0.8133 GB, free: 14.43 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.198, allocations: 288 / 0.8133 GB, free: 14.43 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.198, allocations: 42.78 kB / 0.8133 GB, free: 14.38 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=34): time 1.292e-06/0.198, allocations: 0 / 0.8133 GB, free: 14.38 MB / 0.6388 GB Notification: Performance of matching and sorting (n=34): time 0.0008364/0.1989, allocations: 0.634 MB / 0.814 GB, free: 13.74 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1989, allocations: 59.34 kB / 0.814 GB, free: 13.67 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.2015, allocations: 2.575 MB / 0.8165 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.2016, allocations: 37.7 kB / 0.8166 GB, free: 11.02 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.2022, allocations: 0.7721 MB / 0.8173 GB, free: 10.25 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.2023, allocations: 110.3 kB / 0.8174 GB, free: 10.14 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.2024, allocations: 73.59 kB / 0.8175 GB, free: 10.06 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.2025, allocations: 322.5 kB / 0.8178 GB, free: 9.738 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2027, allocations: 131.9 kB / 0.8179 GB, free: 9.609 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.2029, allocations: 178 kB / 0.8181 GB, free: 9.43 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.2033, allocations: 330.3 kB / 0.8184 GB, free: 9.105 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2033, allocations: 4.031 kB / 0.8184 GB, free: 9.102 MB / 0.6388 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005969/0.2039, allocations: 0.5262 MB / 0.8189 GB, free: 8.566 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2039, allocations: 11.98 kB / 0.819 GB, free: 8.555 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2039, allocations: 0 / 0.819 GB, free: 8.555 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2039, allocations: 0 / 0.819 GB, free: 8.555 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.2042, allocations: 75.89 kB / 0.819 GB, free: 8.48 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2042, allocations: 4 kB / 0.819 GB, free: 8.477 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.2045, allocations: 27.69 kB / 0.8191 GB, free: 8.449 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2045, allocations: 8 kB / 0.8191 GB, free: 8.441 MB / 0.6388 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.2052, allocations: 0.6925 MB / 0.8197 GB, free: 7.738 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.2054, allocations: 193.5 kB / 0.8199 GB, free: 7.547 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.2057, allocations: 211.2 kB / 0.8201 GB, free: 7.34 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2057, allocations: 4 kB / 0.8201 GB, free: 7.336 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2057, allocations: 0 / 0.8201 GB, free: 7.336 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2057, allocations: 3.984 kB / 0.8201 GB, free: 7.332 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.2073, allocations: 1.581 MB / 0.8217 GB, free: 5.68 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2074, allocations: 0 / 0.8217 GB, free: 5.68 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.2076, allocations: 75.89 kB / 0.8217 GB, free: 5.605 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2076, allocations: 4 kB / 0.8218 GB, free: 5.602 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2077, allocations: 8 kB / 0.8218 GB, free: 5.594 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2077, allocations: 4 kB / 0.8218 GB, free: 5.59 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2077, allocations: 3.938 kB / 0.8218 GB, free: 5.586 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.2083, allocations: 0.6481 MB / 0.8224 GB, free: 4.91 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.2087, allocations: 374.5 kB / 0.8228 GB, free: 4.523 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.2088, allocations: 12 kB / 0.8228 GB, free: 4.512 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.2092, allocations: 8 kB / 0.8228 GB, free: 4.504 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.2092, allocations: 19.91 kB / 0.8228 GB, free: 4.484 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2093, allocations: 12 kB / 0.8228 GB, free: 4.473 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.001972/0.2112, allocations: 1.855 MB / 0.8246 GB, free: 2.602 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2113, allocations: 0 / 0.8246 GB, free: 2.602 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0005212/0.2118, allocations: 227.8 kB / 0.8248 GB, free: 2.379 MB / 0.6388 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.001051/0.2128, allocations: 1.254 MB / 0.8261 GB, free: 1.098 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0005669/0.2134, allocations: 395.6 kB / 0.8264 GB, free: 0.7109 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2134, allocations: 4 kB / 0.8264 GB, free: 0.707 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.2136, allocations: 176 kB / 0.8266 GB, free: 0.5352 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.2155, allocations: 0.618 MB / 0.8272 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.2323, allocations: 16.57 MB / 0.8434 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.2334, allocations: 1.754 MB / 0.8451 GB, free: 12.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006936/0.2341, allocations: 311 kB / 0.8454 GB, free: 12.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.2347, allocations: 0.5891 MB / 0.846 GB, free: 11.84 MB / 0.67 GB Notification: Performance of SimCode: time 1.733e-06/0.2347, allocations: 4 kB / 0.846 GB, free: 11.83 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.757/1.992, allocations: 39.32 MB / 0.8844 GB, free: 5.031 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/14.63, allocations: 6.844 kB / 0.8844 GB, free: 5.027 MB / 0.7013 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)