Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.OpaqueSurface,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001132/0.001132, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.425/1.425, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.603/1.603, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001421/0.001422, allocations: 65.27 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.208, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002981/0.211, allocations: 1.7 MB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.2118, allocations: 0.4958 MB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.2119, allocations: 4 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.514e-05/0.212, allocations: 7.922 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2121, allocations: 39.69 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2123, allocations: 27.97 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2125, allocations: 143.3 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2126, allocations: 24 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.2127, allocations: 63.77 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2128, allocations: 43.83 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.2129, allocations: 8 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.2129, allocations: 12 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.2129, allocations: 19.92 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.213, allocations: 55.67 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.2131, allocations: 107.9 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2131, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2131, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.2131, allocations: 0 / 0.7856 GB, free: 11.06 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005042/0.2137, allocations: 407 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2137, allocations: 12.03 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.2137, allocations: 34.75 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2138, allocations: 12.84 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.214, allocations: 200.1 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.214, allocations: 4.375 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.214, allocations: 8.375 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.2142, allocations: 81.05 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2142, allocations: 4 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2142, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2142, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.2143, allocations: 35.98 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.2149, allocations: 495.2 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.2152, allocations: 151.7 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.2152, allocations: 20.86 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2153, allocations: 8.031 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2153, allocations: 34.5 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.2153, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0005198/0.2158, allocations: 211.4 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.2159, allocations: 51.41 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.216, allocations: 161.3 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.216, allocations: 29.7 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.2161, allocations: 108 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.2161, allocations: 7.812 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.2161, allocations: 25.72 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.2162, allocations: 318.8 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.2163, allocations: 19.88 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/0.2163, allocations: 38.56 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.958e-05/0.2164, allocations: 36.86 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2164, allocations: 0 / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001998/0.2166, allocations: 98.31 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2166, allocations: 12.02 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2166, allocations: 0 / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.2168, allocations: 24.84 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.781e-05/0.2168, allocations: 4 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009755/0.2178, allocations: 1.406 MB / 0.7895 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2179, allocations: 4.094 kB / 0.7895 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.218, allocations: 8.188 kB / 0.7896 GB, free: 6.59 MB / 0.6075 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.425e-05/0.218, allocations: 117.8 kB / 0.7897 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.2181, allocations: 7.906 kB / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.2181, allocations: 16.25 kB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2181, allocations: 0 / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2181, allocations: 3.938 kB / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2181, allocations: 0 / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.2185, allocations: 367.2 kB / 0.79 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2185, allocations: 4 kB / 0.79 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.855e-05/0.2185, allocations: 0 / 0.79 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.834e-05/0.2186, allocations: 24.84 kB / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.2187, allocations: 0 / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008661/0.2195, allocations: 1.399 MB / 0.7914 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2195, allocations: 12.08 kB / 0.7914 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.2197, allocations: 180.3 kB / 0.7916 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.2198, allocations: 85.02 kB / 0.7917 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2198, allocations: 7.922 kB / 0.7917 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.2199, allocations: 0 / 0.7917 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.2199, allocations: 4 kB / 0.7917 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2199, allocations: 8 kB / 0.7917 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.22, allocations: 121.5 kB / 0.7918 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.22, allocations: 0 / 0.7918 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002642/0.2203, allocations: 35.84 kB / 0.7919 GB, free: 3.969 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004316/0.2207, allocations: 0.7209 MB / 0.7926 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.2211, allocations: 158.7 kB / 0.7927 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2211, allocations: 3.938 kB / 0.7927 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.2213, allocations: 130.7 kB / 0.7929 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2216, allocations: 40.03 kB / 0.7929 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.223, allocations: 1.579 MB / 0.7944 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.2233, allocations: 0.6928 MB / 0.7951 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.2233, allocations: 13.05 kB / 0.7951 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.2234, allocations: 23.44 kB / 0.7951 GB, free: 456 kB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.2234, allocations: 4 kB / 0.7951 GB, free: 452 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/0.5491, allocations: 3.02 MB / 0.7981 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.5493, allocations: 223.7 kB / 0.7983 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.849, allocations: 0 / 0.7983 GB, free: 13.34 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1)