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.001324/0.001324, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.567/1.567, allocations: 205.1 MB / 222.5 MB, free: 4.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.922/1.922, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002097/0.002098, allocations: 71.72 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.233, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003565/0.2366, allocations: 2.431 MB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2383, allocations: 0.9815 MB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.2385, allocations: 8 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.767e-05/0.2386, allocations: 35.59 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.239, allocations: 123 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.2394, allocations: 167.7 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2398, allocations: 362.3 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.24, allocations: 103.9 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.2402, allocations: 123.6 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.2404, allocations: 139.3 kB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.2405, allocations: 20 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2406, allocations: 47.97 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.2407, allocations: 43.84 kB / 0.7881 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2408, allocations: 143.2 kB / 0.7882 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.2411, allocations: 306.8 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2411, allocations: 0 / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2411, allocations: 0 / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2411, allocations: 0 / 0.7885 GB, free: 8.227 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.000755/0.2419, allocations: 0.5611 MB / 0.7891 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2419, allocations: 8.031 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.242, allocations: 54.73 kB / 0.7891 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.2421, allocations: 36.56 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.2424, allocations: 266.7 kB / 0.7894 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2424, allocations: 16.81 kB / 0.7894 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.2425, allocations: 20.38 kB / 0.7894 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2428, allocations: 179.4 kB / 0.7896 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2428, allocations: 3.984 kB / 0.7896 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.2429, allocations: 12 kB / 0.7896 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2429, allocations: 4 kB / 0.7896 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.2432, allocations: 133.7 kB / 0.7898 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.2441, allocations: 0.8002 MB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.2444, allocations: 122.5 kB / 0.7907 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.2446, allocations: 64.81 kB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.2446, allocations: 0 / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2446, allocations: 38.5 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.2446, allocations: 3.938 kB / 0.7908 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004735/0.2451, allocations: 183 kB / 0.7909 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.2452, allocations: 51.52 kB / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2454, allocations: 238.6 kB / 0.7912 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2454, allocations: 33.7 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.2455, allocations: 152.3 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.2455, allocations: 39.36 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.2456, allocations: 29.7 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2457, allocations: 330.8 kB / 0.7918 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2458, allocations: 40.83 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.246, allocations: 43.97 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.2462, allocations: 96 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2462, allocations: 0 / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000311/0.2465, allocations: 141.4 kB / 0.7921 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2465, allocations: 7.938 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2466, allocations: 4 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2466, allocations: 7.984 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2467, allocations: 23.98 kB / 0.7921 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2467, allocations: 3.938 kB / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.2468, allocations: 15.84 kB / 0.7921 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.2469, allocations: 11.92 kB / 0.7921 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001627/0.247, allocations: 132.1 kB / 0.7923 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001203/0.2471, allocations: 35.97 kB / 0.7923 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002018/0.2474, allocations: 87.94 kB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.81e-07/0.2474, allocations: 4 kB / 0.7924 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.000276/0.2476, allocations: 129.5 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.2477, allocations: 4 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2477, allocations: 7.938 kB / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-06/0.2477, allocations: 0 / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2478, allocations: 27.92 kB / 0.7926 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-06/0.2478, allocations: 0 / 0.7926 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.2479, allocations: 23.83 kB / 0.7926 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2479, allocations: 0 / 0.7926 GB, free: 3.762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.248, allocations: 184.3 kB / 0.7928 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.2481, allocations: 19.75 kB / 0.7928 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.2484, allocations: 163.3 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2485, allocations: 4 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2485, allocations: 0 / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2485, allocations: 0 / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2488, allocations: 273.5 kB / 0.7932 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2488, allocations: 0 / 0.7932 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2489, allocations: 23.98 kB / 0.7932 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2489, allocations: 3.938 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2489, allocations: 4 kB / 0.7932 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2489, allocations: 4 kB / 0.7932 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2489, allocations: 0 / 0.7932 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.2493, allocations: 239.2 kB / 0.7935 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.2494, allocations: 112.8 kB / 0.7936 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.2494, allocations: 0 / 0.7936 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2495, allocations: 15.98 kB / 0.7936 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.2496, allocations: 11.97 kB / 0.7936 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.2496, allocations: 4 kB / 0.7936 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001441/0.2497, allocations: 174 kB / 0.7938 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2498, allocations: 0 / 0.7938 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004088/0.2502, allocations: 99.69 kB / 0.7939 GB, free: 2.355 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 (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.0006824/0.2509, allocations: 0.789 MB / 0.7946 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.2513, allocations: 143.8 kB / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2513, allocations: 0 / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.2514, allocations: 55.91 kB / 0.7948 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2519, allocations: 76.27 kB / 0.7949 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.2543, allocations: 2.053 MB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2546, allocations: 0.7401 MB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.405e-05/0.2547, allocations: 21.55 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.2548, allocations: 75.41 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2548, allocations: 3.938 kB / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.2755, allocations: 4.706 MB / 0.8023 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/7.951, allocations: 5.109 kB / 0.8023 GB, free: 9.684 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/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)