Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.794/1.794, allocations: 288.2 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 173.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.6305 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009488/0.0009485, allocations: 94.86 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004878, allocations: 12.03 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8424/1.102, allocations: 146.3 MB / 1.122 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.102, allocations: 96.73 kB / 1.122 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04199/1.144, allocations: 16.46 MB / 1.139 GB, free: 27.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/1.145, allocations: 0 / 1.139 GB, free: 27.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.221e-05/1.145, allocations: 7.625 kB / 1.139 GB, free: 27.79 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001635/1.146, allocations: 0.7118 MB / 1.139 GB, free: 27.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.146, allocations: 15.55 kB / 1.139 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/1.146, allocations: 59.39 kB / 1.139 GB, free: 27.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09402/1.24, allocations: 11.08 MB / 1.15 GB, free: 22.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/1.256, allocations: 2.498 MB / 1.153 GB, free: 19.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/1.256, allocations: 19.69 kB / 1.153 GB, free: 19.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005032/1.256, allocations: 33.62 kB / 1.153 GB, free: 19.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005854/1.262, allocations: 1.516 MB / 1.154 GB, free: 18.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.262, allocations: 0 / 1.154 GB, free: 18.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.263, allocations: 10.88 kB / 1.154 GB, free: 18.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.263, allocations: 7.984 kB / 1.154 GB, free: 18.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/1.268, allocations: 1.284 MB / 1.155 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00699/1.275, allocations: 5.467 MB / 1.161 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005461/1.28, allocations: 1.229 MB / 1.162 GB, free: 11.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/1.28, allocations: 37.11 kB / 1.162 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.28, allocations: 34.06 kB / 1.162 GB, free: 11.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.747e-06/1.28, allocations: 0 / 1.162 GB, free: 11.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.01605/1.296, allocations: 3.507 MB / 1.165 GB, free: 8.266 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/1.297, allocations: 59.36 kB / 1.165 GB, free: 8.195 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/1.297, allocations: 297.1 kB / 1.166 GB, free: 7.945 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/1.298, allocations: 29.08 kB / 1.166 GB, free: 7.914 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/1.298, allocations: 209.2 kB / 1.166 GB, free: 7.758 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/1.298, allocations: 70.31 kB / 1.166 GB, free: 7.699 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/1.298, allocations: 3.5 kB / 1.166 GB, free: 7.699 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.298, allocations: 348.1 kB / 1.166 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01055/1.309, allocations: 2.109 MB / 1.168 GB, free: 5.734 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/1.32, allocations: 2.171 MB / 1.171 GB, free: 4.023 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.33, allocations: 1.957 MB / 1.172 GB, free: 2.523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.33, allocations: 0 / 1.172 GB, free: 2.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02119/1.351, allocations: 4.334 MB / 1.177 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.352, allocations: 185.3 kB / 1.177 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01687/1.369, allocations: 3.642 MB / 1.18 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/1.369, allocations: 0 / 1.18 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008114/1.377, allocations: 0.955 MB / 1.181 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.377, allocations: 0 / 1.181 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007649/1.384, allocations: 0.7937 MB / 1.182 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004838/1.385, allocations: 78.94 kB / 1.182 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.385, allocations: 4 kB / 1.182 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02097/1.406, allocations: 4.278 MB / 1.186 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01752/1.424, allocations: 3.636 MB / 1.19 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.424, allocations: 4 kB / 1.19 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008425/1.432, allocations: 0.947 MB / 1.191 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.432, allocations: 4 kB / 1.191 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007974/1.44, allocations: 0.7942 MB / 1.192 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/1.441, allocations: 71.44 kB / 1.192 GB, free: 2.316 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0006957/1.441, allocations: 225.7 kB / 1.192 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/1.442, allocations: 35.53 kB / 1.192 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009036/1.451, allocations: 1.974 MB / 1.194 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.451, allocations: 4 kB / 1.194 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.451, allocations: 3.938 kB / 1.194 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.451, allocations: 0 / 1.194 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/1.452, allocations: 1.089 MB / 1.195 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006299/1.458, allocations: 1.378 MB / 1.196 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/1.461, allocations: 331.5 kB / 1.197 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/1.461, allocations: 0 / 1.197 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/1.461, allocations: 26.52 kB / 1.197 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.842e-05/1.461, allocations: 4 kB / 1.197 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.461, allocations: 4 kB / 1.197 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006424/1.468, allocations: 1.509 MB / 1.198 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/1.468, allocations: 232.6 kB / 1.198 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/1.469, allocations: 5.75 kB / 1.198 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.471, allocations: 249.9 kB / 1.199 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/1.471, allocations: 27.27 kB / 1.199 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.255e-05/1.471, allocations: 31.95 kB / 1.199 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003263/1.472, allocations: 232 kB / 1.199 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.472, allocations: 0 / 1.199 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001901/1.474, allocations: 369.4 kB / 1.199 GB, free: 11.77 MB / 0.7292 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 (36): * Single equations (assignments): 36 * 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.00721/1.481, allocations: 2.159 MB / 1.201 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02192/1.503, allocations: 4.473 MB / 1.206 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.503, allocations: 0 / 1.206 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003226/1.506, allocations: 0.7157 MB / 1.206 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/1.507, allocations: 77.02 kB / 1.206 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/1.512, allocations: 1.808 MB / 1.208 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/1.512, allocations: 0.8042 MB / 1.209 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00486/1.517, allocations: 0.7091 MB / 1.21 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.519, allocations: 234.1 kB / 1.21 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of SimCode: time 1.433e-06/1.519, allocations: 0 / 1.21 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07663/1.595, allocations: 41.16 MB / 1.25 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.595, allocations: 202.2 kB / 1.25 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.561/6.156, allocations: 8 kB / 1.25 GB, free: 9.117 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)