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.0008182/0.0008182, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004804/0.004805, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.272/1.272, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.672/1.672, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005134/0.0005134, allocations: 18.12 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1863, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006471/0.1928, allocations: 6.838 MB / 0.7947 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006363/0.1992, allocations: 5.101 MB / 0.7997 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.2002, allocations: 35.75 kB / 0.7997 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.2041, allocations: 1.575 MB / 0.8012 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.2057, allocations: 0.5356 MB / 0.8017 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.2063, allocations: 195.2 kB / 0.8019 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.2082, allocations: 1.966 MB / 0.8039 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.2088, allocations: 0.5376 MB / 0.8044 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.2093, allocations: 0.6255 MB / 0.805 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007611/0.2101, allocations: 0.7927 MB / 0.8058 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2102, allocations: 68 kB / 0.8058 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.2106, allocations: 179.8 kB / 0.806 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.2108, allocations: 298.6 kB / 0.8063 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.2114, allocations: 0.786 MB / 0.8071 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.2129, allocations: 2.016 MB / 0.809 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2129, allocations: 0 / 0.809 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2129, allocations: 3.938 kB / 0.809 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.2129, allocations: 4 kB / 0.809 GB, free: 5.844 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.002191/0.2151, allocations: 1.872 MB / 0.8109 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2151, allocations: 12.03 kB / 0.8109 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.38e-05/0.2152, allocations: 74.72 kB / 0.8109 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.2154, allocations: 202.4 kB / 0.8111 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.2173, allocations: 1.571 MB / 0.8127 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.2173, allocations: 21 kB / 0.8127 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.2174, allocations: 39.98 kB / 0.8127 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.218, allocations: 454.2 kB / 0.8132 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.218, allocations: 0 / 0.8132 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.2181, allocations: 12 kB / 0.8132 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.2181, allocations: 24.98 kB / 0.8132 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.2187, allocations: 427.7 kB / 0.8136 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.2212, allocations: 2.331 MB / 0.8159 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/0.2221, allocations: 0.4962 MB / 0.8164 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.2224, allocations: 201.3 kB / 0.8166 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2224, allocations: 8.219 kB / 0.8166 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2225, allocations: 30.84 kB / 0.8166 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.322e-06/0.2225, allocations: 0 / 0.8166 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0008149/0.2233, allocations: 0.6425 MB / 0.8172 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2233, allocations: 55.41 kB / 0.8173 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.2261, allocations: 2.587 MB / 0.8198 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2262, allocations: 29.7 kB / 0.8198 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006481/0.2268, allocations: 0.7643 MB / 0.8206 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/0.2269, allocations: 122.3 kB / 0.8207 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.2269, allocations: 29.7 kB / 0.8207 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.227, allocations: 326.5 kB / 0.821 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.2272, allocations: 139.9 kB / 0.8212 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.2275, allocations: 178 kB / 0.8213 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.2279, allocations: 326.3 kB / 0.8216 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2279, allocations: 0 / 0.8216 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006092/0.2285, allocations: 0.5224 MB / 0.8222 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2285, allocations: 4 kB / 0.8222 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2285, allocations: 3.984 kB / 0.8222 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2285, allocations: 0 / 0.8222 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.2288, allocations: 79.91 kB / 0.8222 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2289, allocations: 3.984 kB / 0.8222 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.2292, allocations: 35.59 kB / 0.8223 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2292, allocations: 12 kB / 0.8223 GB, free: 7.852 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.0006644/0.2299, allocations: 0.6886 MB / 0.823 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.2301, allocations: 181.7 kB / 0.8231 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.2304, allocations: 227 kB / 0.8233 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2304, allocations: 4 kB / 0.8234 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2304, allocations: 0 / 0.8234 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2304, allocations: 3.984 kB / 0.8234 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.2321, allocations: 1.577 MB / 0.8249 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2321, allocations: 0 / 0.8249 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.2324, allocations: 83.88 kB / 0.825 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2324, allocations: 0 / 0.825 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.2324, allocations: 8 kB / 0.825 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2324, allocations: 0 / 0.825 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2324, allocations: 7.938 kB / 0.825 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.2331, allocations: 0.6506 MB / 0.8256 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.2335, allocations: 378.5 kB / 0.826 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.2337, allocations: 4 kB / 0.826 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.2341, allocations: 15.94 kB / 0.826 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.2341, allocations: 27.91 kB / 0.826 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2341, allocations: 8 kB / 0.826 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002129/0.2363, allocations: 1.847 MB / 0.8278 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2363, allocations: 0 / 0.8278 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005322/0.2368, allocations: 223.8 kB / 0.8281 GB, free: 1.789 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.001095/0.2379, allocations: 1.252 MB / 0.8293 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.2384, allocations: 319.7 kB / 0.8296 GB, free: 200 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2384, allocations: 0 / 0.8296 GB, free: 200 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.2386, allocations: 176.8 kB / 0.8298 GB, free: 24 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.2409, allocations: 0.5905 MB / 0.8303 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/0.2634, allocations: 16.91 MB / 0.8468 GB, free: 13.69 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.2646, allocations: 1.746 MB / 0.8486 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006959/0.2653, allocations: 319 kB / 0.8489 GB, free: 11.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/0.2659, allocations: 0.5891 MB / 0.8494 GB, free: 11 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.2659, allocations: 0 / 0.8494 GB, free: 11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.479/2.745, allocations: 38 MB / 0.8865 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/2.745, allocations: 293.2 kB / 0.8868 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/5.296, allocations: 3.234 kB / 0.8868 GB, free: 5.16 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 & /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)