Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 181.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008281/0.000828, allocations: 89.11 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 10.2 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2121, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.3767, allocations: 135.4 MB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.377, allocations: 79.95 kB / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/0.4007, allocations: 8.33 MB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4008, allocations: 0 / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.4008, allocations: 4 kB / 1.041 GB, free: 15.82 MB / 0.698 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.0009451/0.4018, allocations: 0.5494 MB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4018, allocations: 8.031 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.4019, allocations: 54.55 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.402, allocations: 35.61 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.4024, allocations: 309.3 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4024, allocations: 16.44 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.4025, allocations: 20 kB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.4029, allocations: 179.3 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4029, allocations: 3.984 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.4029, allocations: 12 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4029, allocations: 8 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.4033, allocations: 129.7 kB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.4043, allocations: 0.8198 MB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.4047, allocations: 142.3 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.4047, allocations: 0 / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4047, allocations: 38.56 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.4048, allocations: 0 / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005485/0.4053, allocations: 200.3 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4054, allocations: 51.41 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.4056, allocations: 209.8 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4056, allocations: 25.7 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4057, allocations: 152.3 kB / 1.043 GB, free: 12.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.4058, allocations: 55.36 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.4058, allocations: 3.938 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.406, allocations: 334.8 kB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4061, allocations: 43.97 kB / 1.044 GB, free: 12.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4062, allocations: 35.98 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.4063, allocations: 43.97 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4064, allocations: 4 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003242/0.4067, allocations: 141.5 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.4068, allocations: 98.58 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4068, allocations: 7.984 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4068, allocations: 4 kB / 1.044 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.407, allocations: 27.92 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.407, allocations: 0 / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.4071, allocations: 27.83 kB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.4072, allocations: 4 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.4072, allocations: 4 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002471/0.4074, allocations: 104.4 kB / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.4074, allocations: 4 kB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-06/0.4074, allocations: 0 / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4076, allocations: 23.98 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.4076, allocations: 11.89 kB / 1.044 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.4077, allocations: 19.89 kB / 1.044 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4077, allocations: 8 kB / 1.044 GB, free: 11.62 MB / 0.698 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.0001499/0.4079, allocations: 203.4 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.4079, allocations: 23.72 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.4083, allocations: 168.6 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4083, allocations: 112 / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4083, allocations: 7.891 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4083, allocations: 3.938 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.4086, allocations: 269.5 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4086, allocations: 4 kB / 1.045 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.4088, allocations: 27.98 kB / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4088, allocations: 0 / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.4088, allocations: 0 / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4088, allocations: 4 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4088, allocations: 3.984 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.4092, allocations: 256.1 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4093, allocations: 112.7 kB / 1.045 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.4093, allocations: 4 kB / 1.045 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.4095, allocations: 15.98 kB / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4095, allocations: 7.984 kB / 1.045 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.4095, allocations: 0 / 1.045 GB, free: 10.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001543/0.4097, allocations: 178 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4097, allocations: 3.938 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003917/0.4101, allocations: 103.6 kB / 1.046 GB, free: 10.16 MB / 0.698 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.0006872/0.4108, allocations: 0.7996 MB / 1.047 GB, free: 9.328 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.4112, allocations: 157.9 kB / 1.047 GB, free: 9.176 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4112, allocations: 0 / 1.047 GB, free: 9.176 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4113, allocations: 51.97 kB / 1.047 GB, free: 9.125 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4117, allocations: 58.53 kB / 1.047 GB, free: 9.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.4134, allocations: 1.15 MB / 1.048 GB, free: 7.859 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.4137, allocations: 0.756 MB / 1.049 GB, free: 7.078 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.863e-05/0.4138, allocations: 25.53 kB / 1.049 GB, free: 7.055 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4139, allocations: 71.41 kB / 1.049 GB, free: 6.984 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/0.414, allocations: 0 / 1.049 GB, free: 6.984 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.4282, allocations: 4.438 MB / 1.053 GB, free: 2.707 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.4284, allocations: 196.9 kB / 1.053 GB, free: 2.461 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.119, allocations: 0 / 1.053 GB, free: 2.461 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1)