Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.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.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity",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.000851/0.000851, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009522/0.0009524, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.698/1.698, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0007993/0.0007994, allocations: 12.94 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2176, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity): time 0.002619/0.2203, allocations: 1.406 MB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.2213, allocations: 476.1 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.2214, allocations: 7.938 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.2214, allocations: 0 / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2216, allocations: 39.7 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.2218, allocations: 15.98 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.222, allocations: 111.5 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2221, allocations: 19.97 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2223, allocations: 35.86 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2224, allocations: 47.77 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.2224, allocations: 4 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.182e-05/0.2225, allocations: 4 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.2225, allocations: 15.92 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.2226, allocations: 37.7 kB / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2227, allocations: 60.09 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.2227, allocations: 4 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2227, allocations: 7.875 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2228, allocations: 0 / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008038/0.2236, allocations: 405.7 kB / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2236, allocations: 8.031 kB / 0.79 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.2237, allocations: 38.55 kB / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.2238, allocations: 11.91 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.2241, allocations: 194.8 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2241, allocations: 8 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2241, allocations: 4 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.2244, allocations: 81.59 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2245, allocations: 0 / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2245, allocations: 11.94 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2245, allocations: 0 / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.2248, allocations: 67.95 kB / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.2257, allocations: 364.5 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.2262, allocations: 98.5 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.2264, allocations: 37.03 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2264, allocations: 4 kB / 0.7909 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2264, allocations: 34.52 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.2265, allocations: 0 / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.000597/0.2271, allocations: 141.5 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2271, allocations: 55.34 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2273, allocations: 150.5 kB / 0.7912 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.2274, allocations: 25.7 kB / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.2275, allocations: 100 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2275, allocations: 23.73 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.2275, allocations: 0 / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2277, allocations: 322.8 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.2278, allocations: 27.98 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.228, allocations: 58.53 kB / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2282, allocations: 40.27 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2282, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003552/0.2286, allocations: 113.5 kB / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2286, allocations: 11.98 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2286, allocations: 112 / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2287, allocations: 3.938 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.2288, allocations: 31.97 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008743/0.2297, allocations: 1.278 MB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2299, allocations: 15.92 kB / 0.7932 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.2299, allocations: 7.984 kB / 0.7932 GB, free: 5.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.2301, allocations: 113.9 kB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.2301, allocations: 15.86 kB / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.2302, allocations: 16.66 kB / 0.7934 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2302, allocations: 4 kB / 0.7934 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.2302, allocations: 0 / 0.7934 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2302, allocations: 3.984 kB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2305, allocations: 193.6 kB / 0.7936 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2305, allocations: 0 / 0.7936 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.2306, allocations: 31.92 kB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2306, allocations: 4 kB / 0.7936 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2307, allocations: 3.953 kB / 0.7936 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007834/0.2315, allocations: 1.283 MB / 0.7949 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2315, allocations: 0 / 0.7949 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.2317, allocations: 199.4 kB / 0.795 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.2318, allocations: 89.02 kB / 0.7951 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2318, allocations: 7.953 kB / 0.7951 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.232, allocations: 15.98 kB / 0.7952 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.232, allocations: 3.984 kB / 0.7952 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.232, allocations: 4 kB / 0.7952 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.774e-05/0.2321, allocations: 113.7 kB / 0.7953 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2321, allocations: 0 / 0.7953 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000265/0.2324, allocations: 20 kB / 0.7953 GB, free: 3.117 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000574/0.233, allocations: 0.7388 MB / 0.796 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.2333, allocations: 75.95 kB / 0.7961 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2333, allocations: 0 / 0.7961 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2334, allocations: 47.97 kB / 0.7961 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2338, allocations: 31.94 kB / 0.7962 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2351, allocations: 0.7174 MB / 0.7969 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2354, allocations: 0.7002 MB / 0.7975 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.366e-05/0.2355, allocations: 16.53 kB / 0.7976 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.2355, allocations: 35.42 kB / 0.7976 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2356, allocations: 0 / 0.7976 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.249, allocations: 2.715 MB / 0.8002 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.2492, allocations: 191.3 kB / 0.8004 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.096, allocations: 0 / 0.8004 GB, free: 13.86 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.fmu > Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe 2>&1) Environment - environmentSimulation: