Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Convection.Examples.Exterior.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.Convection.Examples.Exterior,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Convection_Examples_Exterior",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.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001342/0.001342, allocations: 198.2 kB / 16.14 MB, free: 6.707 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.386/1.386, allocations: 205.1 MB / 222 MB, free: 4.988 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.687/1.687, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.00134/0.00134, allocations: 67.73 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1878, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.00362/0.1914, allocations: 2.753 MB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.194, allocations: 1.797 MB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1941, allocations: 4 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.1942, allocations: 31.7 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.1946, allocations: 136 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.1952, allocations: 301.3 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.1957, allocations: 474.4 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.1959, allocations: 125.4 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1961, allocations: 163.3 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1963, allocations: 175.2 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.1963, allocations: 20 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005983/0.1969, allocations: 439.4 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.197, allocations: 71.67 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.1972, allocations: 179 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.1977, allocations: 0.5101 MB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1978, allocations: 0 / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1978, allocations: 0 / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1978, allocations: 4 kB / 0.7897 GB, free: 6.746 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001047/0.1988, allocations: 0.717 MB / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1989, allocations: 8.031 kB / 0.7905 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.1989, allocations: 62.72 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.1998, allocations: 124.2 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.2002, allocations: 311.4 kB / 0.7909 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2002, allocations: 21.03 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.2003, allocations: 28.38 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.2009, allocations: 322 kB / 0.7913 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.201, allocations: 3.984 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.201, allocations: 16 kB / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.201, allocations: 8 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.2018, allocations: 282.4 kB / 0.7916 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.2034, allocations: 0.8969 MB / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.2043, allocations: 294.5 kB / 0.7927 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.2046, allocations: 127.6 kB / 0.7929 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.2048, allocations: 89.09 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2048, allocations: 38.5 kB / 0.793 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.552e-06/0.2048, allocations: 0 / 0.793 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001246/0.2061, allocations: 388.9 kB / 0.7933 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2061, allocations: 63.34 kB / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.2065, allocations: 337.6 kB / 0.7937 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2065, allocations: 29.7 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2066, allocations: 192.5 kB / 0.7939 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.2067, allocations: 79.19 kB / 0.794 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.2068, allocations: 65.95 kB / 0.7941 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2069, allocations: 338.9 kB / 0.7944 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.2073, allocations: 112.4 kB / 0.7945 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.2076, allocations: 105 kB / 0.7946 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007149/0.2084, allocations: 234.6 kB / 0.7948 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2084, allocations: 0 / 0.7948 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008932/0.2093, allocations: 336.9 kB / 0.7952 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2093, allocations: 8 kB / 0.7952 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2093, allocations: 4 kB / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2093, allocations: 0 / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.2097, allocations: 75.88 kB / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2098, allocations: 7.938 kB / 0.7952 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.2101, allocations: 51.5 kB / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.2101, allocations: 11.98 kB / 0.7953 GB, free: 0.793 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 (33): * Single equations (assignments): 33 * 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.0001242/0.2102, allocations: 137.8 kB / 0.7954 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2104, allocations: 35.62 kB / 0.7955 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009794/0.2113, allocations: 377.6 kB / 0.7958 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2114, allocations: 0 / 0.7958 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2114, allocations: 0 / 0.7958 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2114, allocations: 3.938 kB / 0.7958 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.2117, allocations: 353.2 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2117, allocations: 0 / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.2121, allocations: 59.89 kB / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2121, allocations: 0 / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2121, allocations: 7.984 kB / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2121, allocations: 4 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2122, allocations: 0 / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.213, allocations: 297.3 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.2131, allocations: 136.6 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.2131, allocations: 8 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.2134, allocations: 11.98 kB / 0.7967 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.2135, allocations: 23.97 kB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.2135, allocations: 11.92 kB / 0.7967 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002307/0.2137, allocations: 251.2 kB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2137, allocations: 0 / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003409/0.2141, allocations: 103.8 kB / 0.797 GB, free: 14.89 MB / 0.6231 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 (21): * Single equations (assignments): 21 * 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.00114/0.2152, allocations: 0.8684 MB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007633/0.216, allocations: 239.7 kB / 0.7981 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.216, allocations: 0 / 0.7981 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.2164, allocations: 115.8 kB / 0.7982 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.217, allocations: 108.3 kB / 0.7983 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.2219, allocations: 3.172 MB / 0.8014 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2222, allocations: 0.7794 MB / 0.8022 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.2225, allocations: 70.81 kB / 0.8023 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.2227, allocations: 115.4 kB / 0.8024 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2227, allocations: 0 / 0.8024 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2409, allocations: 8.124 MB / 0.8103 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.2411, allocations: 200.5 kB / 0.8105 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.259, allocations: 7.938 kB / 0.8105 GB, free: 1.07 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_8_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1)