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.839/1.839, allocations: 285.4 MB / 298 MB, free: 5.996 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.001132/0.001133, allocations: 184.8 kB / 366.4 MB, free: 2.094 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.823/1.823, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 93.12 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/3.994e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.7999, allocations: 115.3 MB / 0.971 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/1.027, allocations: 146.2 MB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003967/1.028, allocations: 89.2 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05524/1.083, allocations: 16.42 MB / 1.13 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/1.083, allocations: 2.906 kB / 1.13 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.163e-05/1.083, allocations: 8 kB / 1.13 GB, free: 5.051 MB / 0.7292 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.001059/1.084, allocations: 0.6538 MB / 1.131 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.084, allocations: 8.031 kB / 1.131 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.148e-05/1.084, allocations: 58.55 kB / 1.131 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09459/1.179, allocations: 11.06 MB / 1.141 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/1.195, allocations: 2.505 MB / 1.144 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/1.195, allocations: 20.56 kB / 1.144 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004884/1.195, allocations: 28 kB / 1.144 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/1.197, allocations: 0.9606 MB / 1.145 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.197, allocations: 0 / 1.145 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.197, allocations: 14.31 kB / 1.145 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/1.197, allocations: 4 kB / 1.145 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/1.199, allocations: 0.709 MB / 1.146 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006981/1.206, allocations: 5.477 MB / 1.151 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.207, allocations: 0.6771 MB / 1.152 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/1.208, allocations: 0.536 MB / 1.152 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/1.208, allocations: 35.98 kB / 1.152 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/1.208, allocations: 34.5 kB / 1.152 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 3.827e-06/1.208, allocations: 0 / 1.152 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=22): time 0.002467/1.21, allocations: 1.11 MB / 1.153 GB, free: 12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.21, allocations: 55.41 kB / 1.153 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/1.211, allocations: 283.6 kB / 1.154 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/1.211, allocations: 29.7 kB / 1.154 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.211, allocations: 212.1 kB / 1.154 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.211, allocations: 70.91 kB / 1.154 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/1.212, allocations: 8 kB / 1.154 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.212, allocations: 338.8 kB / 1.154 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/1.214, allocations: 1.065 MB / 1.155 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/1.215, allocations: 1.128 MB / 1.156 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.217, allocations: 0.9136 MB / 1.157 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.217, allocations: 0 / 1.157 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004482/1.222, allocations: 2.227 MB / 1.159 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.222, allocations: 182 kB / 1.16 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003457/1.225, allocations: 1.879 MB / 1.161 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.225, allocations: 4 kB / 1.161 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008865/1.234, allocations: 0.9458 MB / 1.162 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/1.234, allocations: 3.938 kB / 1.162 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008374/1.242, allocations: 0.8035 MB / 1.163 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/1.243, allocations: 75.88 kB / 1.163 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.243, allocations: 4 kB / 1.163 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00451/1.248, allocations: 2.171 MB / 1.165 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003517/1.251, allocations: 1.871 MB / 1.167 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.251, allocations: 3.984 kB / 1.167 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009842/1.261, allocations: 0.9468 MB / 1.168 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.261, allocations: 4 kB / 1.168 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008177/1.269, allocations: 0.788 MB / 1.169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/1.27, allocations: 75.83 kB / 1.169 GB, free: 11.84 MB / 0.7761 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 () * 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.000438/1.27, allocations: 122.5 kB / 1.169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.27, allocations: 35.61 kB / 1.169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.275, allocations: 1.357 MB / 1.17 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.275, allocations: 7.984 kB / 1.17 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.275, allocations: 1.5 kB / 1.17 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.275, allocations: 0 / 1.17 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/1.276, allocations: 1.082 MB / 1.171 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001419/1.277, allocations: 0.7633 MB / 1.172 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/1.28, allocations: 335.6 kB / 1.173 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.28, allocations: 0 / 1.173 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/1.28, allocations: 35.89 kB / 1.173 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.28, allocations: 4 kB / 1.173 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.28, allocations: 0 / 1.173 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.282, allocations: 0.9008 MB / 1.173 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/1.283, allocations: 243.3 kB / 1.174 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.283, allocations: 8.625 kB / 1.174 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.285, allocations: 239.8 kB / 1.174 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.285, allocations: 27.83 kB / 1.174 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/1.285, allocations: 27.95 kB / 1.174 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003109/1.286, allocations: 230.1 kB / 1.174 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.51e-07/1.286, allocations: 0 / 1.174 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001675/1.287, allocations: 375.6 kB / 1.175 GB, free: 5.949 MB / 0.7761 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 () * 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.002388/1.29, allocations: 1.54 MB / 1.176 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00487/1.295, allocations: 2.411 MB / 1.178 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.295, allocations: 0 / 1.178 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007663/1.296, allocations: 419.8 kB / 1.179 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/1.296, allocations: 75.36 kB / 1.179 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/1.298, allocations: 0.7531 MB / 1.18 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/1.299, allocations: 0.8044 MB / 1.18 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004674/1.303, allocations: 0.7314 MB / 1.181 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.304, allocations: 231.2 kB / 1.181 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/1.304, allocations: 0 / 1.181 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08153/1.386, allocations: 41.86 MB / 1.222 GB, free: 5.215 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/1.386, allocations: 179.1 kB / 1.222 GB, free: 4.992 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.649/6.036, allocations: 0 / 1.222 GB, free: 4.992 MB / 0.823 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)