Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.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.Interior,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior",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.0008998/0.0009002, allocations: 91.69 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.001202/0.001202, 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.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.673/1.673, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005139/0.000514, allocations: 12.34 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002676/0.2399, allocations: 2.034 MB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.2416, allocations: 0.9276 MB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.2418, allocations: 4 kB / 0.7903 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.62e-05/0.2419, allocations: 31.77 kB / 0.7903 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.2424, allocations: 107.2 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.2428, allocations: 147.8 kB / 0.7906 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.2434, allocations: 318.3 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.2436, allocations: 81.8 kB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2438, allocations: 111.6 kB / 0.791 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.244, allocations: 115.5 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2441, allocations: 12 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2442, allocations: 35.97 kB / 0.7912 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.2442, allocations: 35.8 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.2443, allocations: 73.56 kB / 0.7913 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.2445, allocations: 207.5 kB / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2445, allocations: 0 / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2445, allocations: 0 / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.2445, allocations: 0 / 0.7915 GB, free: 7.586 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006749/0.2452, allocations: 0.5375 MB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2453, allocations: 8.031 kB / 0.792 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.2453, allocations: 58.53 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.2454, allocations: 31.62 kB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.2457, allocations: 249.6 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2457, allocations: 20.44 kB / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.2457, allocations: 19.94 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.2461, allocations: 183.3 kB / 0.7926 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2461, allocations: 0 / 0.7926 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.2461, allocations: 11.98 kB / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2461, allocations: 11.94 kB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.2465, allocations: 133.7 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.2474, allocations: 0.8198 MB / 0.7935 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.2477, allocations: 133.2 kB / 0.7936 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2478, allocations: 64.83 kB / 0.7937 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.2479, allocations: 3.984 kB / 0.7937 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2479, allocations: 34.56 kB / 0.7937 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2479, allocations: 4 kB / 0.7937 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004621/0.2484, allocations: 197.3 kB / 0.7939 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2484, allocations: 59.34 kB / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.2487, allocations: 234.6 kB / 0.7942 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2487, allocations: 29.7 kB / 0.7942 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2488, allocations: 156.2 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.2488, allocations: 39.45 kB / 0.7944 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.2488, allocations: 4 kB / 0.7944 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.249, allocations: 330.8 kB / 0.7948 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2491, allocations: 39.98 kB / 0.7948 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2492, allocations: 39.97 kB / 0.7948 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.2493, allocations: 39.48 kB / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2493, allocations: 0 / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003/0.2496, allocations: 165.2 kB / 0.795 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.2497, allocations: 90.12 kB / 0.7951 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2497, allocations: 4 kB / 0.7951 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2497, allocations: 0 / 0.7951 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2499, allocations: 35.98 kB / 0.7951 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2499, allocations: 4 kB / 0.7952 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.25, allocations: 19.83 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.25, allocations: 4 kB / 0.7952 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.25, allocations: 0 / 0.7952 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002459/0.2503, allocations: 107.9 kB / 0.7953 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2503, allocations: 4.109 kB / 0.7953 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2503, allocations: 7.891 kB / 0.7953 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2504, allocations: 23.98 kB / 0.7953 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.2504, allocations: 0 / 0.7953 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-05/0.2506, allocations: 27.92 kB / 0.7953 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2506, allocations: 0 / 0.7953 GB, free: 3.371 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.2507, allocations: 209.1 kB / 0.7955 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.2508, allocations: 19.72 kB / 0.7956 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.2511, allocations: 171.4 kB / 0.7957 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2511, allocations: 7.953 kB / 0.7957 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2511, allocations: 0 / 0.7957 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2511, allocations: 0 / 0.7957 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.2514, allocations: 273.5 kB / 0.796 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2514, allocations: 0 / 0.796 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2516, allocations: 27.98 kB / 0.796 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2516, allocations: 3.938 kB / 0.796 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2516, allocations: 4 kB / 0.796 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2516, allocations: 4 kB / 0.796 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2516, allocations: 3.953 kB / 0.796 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.2519, allocations: 250.1 kB / 0.7963 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.252, allocations: 108.9 kB / 0.7964 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.2521, allocations: 7.938 kB / 0.7964 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2522, allocations: 11.98 kB / 0.7964 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2522, allocations: 15.94 kB / 0.7964 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.2522, allocations: 4 kB / 0.7964 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001482/0.2524, allocations: 166 kB / 0.7966 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2524, allocations: 0 / 0.7966 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003858/0.2528, allocations: 103.6 kB / 0.7967 GB, free: 1.91 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006124/0.2534, allocations: 0.7972 MB / 0.7974 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.2538, allocations: 155.8 kB / 0.7976 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2538, allocations: 0 / 0.7976 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2539, allocations: 63.91 kB / 0.7977 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.2544, allocations: 52.52 kB / 0.7977 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.2561, allocations: 1.163 MB / 0.7988 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2564, allocations: 0.7482 MB / 0.7996 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.831e-05/0.2565, allocations: 17.53 kB / 0.7996 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2566, allocations: 75.41 kB / 0.7997 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2566, allocations: 4 kB / 0.7997 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.2719, allocations: 4.38 MB / 0.8039 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.2721, allocations: 181.6 kB / 0.8041 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.045, allocations: 0 / 0.8041 GB, free: 10.28 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) Environment - environmentSimulation: