Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001176/0.001176, allocations: 177 kB / 377.1 MB, free: 1.555 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.824/1.824, allocations: 205.4 MB / 0.6366 GB, free: 8.66 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.0009942/0.0009938, allocations: 93.36 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8177/1.086, allocations: 147.3 MB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.086, allocations: 94.02 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04555/1.132, allocations: 16.47 MB / 1.148 GB, free: 17.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.304e-06/1.132, allocations: 0 / 1.148 GB, free: 17.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.186e-05/1.132, allocations: 12 kB / 1.148 GB, free: 17.34 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.001204/1.133, allocations: 0.7027 MB / 1.149 GB, free: 16.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.133, allocations: 15.95 kB / 1.149 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/1.133, allocations: 60.8 kB / 1.149 GB, free: 16.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09665/1.23, allocations: 11.08 MB / 1.16 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/1.244, allocations: 2.5 MB / 1.162 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/1.245, allocations: 20.56 kB / 1.162 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004496/1.245, allocations: 36 kB / 1.163 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005205/1.25, allocations: 1.511 MB / 1.164 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.25, allocations: 1.438 kB / 1.164 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.25, allocations: 12 kB / 1.164 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.25, allocations: 9.312 kB / 1.164 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004899/1.255, allocations: 1.275 MB / 1.165 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/1.261, allocations: 5.473 MB / 1.171 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005312/1.267, allocations: 1.236 MB / 1.172 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/1.267, allocations: 31.98 kB / 1.172 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.267, allocations: 34.56 kB / 1.172 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.906e-06/1.267, allocations: 0 / 1.172 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0158/1.283, allocations: 3.503 MB / 1.175 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/1.283, allocations: 63.3 kB / 1.175 GB, free: 6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/1.283, allocations: 296.8 kB / 1.176 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003212/1.283, allocations: 29.7 kB / 1.176 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.284, allocations: 205.2 kB / 1.176 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/1.284, allocations: 67 kB / 1.176 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/1.284, allocations: 8 kB / 1.176 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.284, allocations: 350.7 kB / 1.176 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/1.295, allocations: 2.108 MB / 1.178 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.306, allocations: 2.177 MB / 1.18 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.316, allocations: 1.947 MB / 1.182 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.317, allocations: 3.938 kB / 1.182 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02175/1.338, allocations: 4.328 MB / 1.187 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.338, allocations: 186.8 kB / 1.187 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01767/1.356, allocations: 3.649 MB / 1.19 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/1.356, allocations: 4 kB / 1.19 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008692/1.365, allocations: 0.9442 MB / 1.191 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/1.365, allocations: 0.9375 kB / 1.191 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008049/1.373, allocations: 0.8051 MB / 1.192 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/1.373, allocations: 76.97 kB / 1.192 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.373, allocations: 6.188 kB / 1.192 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02148/1.395, allocations: 4.274 MB / 1.196 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01772/1.413, allocations: 3.632 MB / 1.2 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.413, allocations: 4 kB / 1.2 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00865/1.421, allocations: 0.9442 MB / 1.201 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.421, allocations: 0 / 1.201 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008014/1.429, allocations: 0.7997 MB / 1.202 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/1.43, allocations: 71.89 kB / 1.202 GB, free: 11.02 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 () * 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.0006152/1.43, allocations: 225.3 kB / 1.202 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.43, allocations: 40.55 kB / 1.202 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008772/1.439, allocations: 1.963 MB / 1.204 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.439, allocations: 4 kB / 1.204 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.439, allocations: 4 kB / 1.204 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.439, allocations: 3.984 kB / 1.204 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/1.441, allocations: 1.085 MB / 1.205 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006206/1.447, allocations: 1.385 MB / 1.206 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.45, allocations: 336.7 kB / 1.207 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.45, allocations: 4 kB / 1.207 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.851e-05/1.45, allocations: 23.97 kB / 1.207 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.45, allocations: 0 / 1.207 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.45, allocations: 3.984 kB / 1.207 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006423/1.456, allocations: 1.506 MB / 1.208 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/1.457, allocations: 240.4 kB / 1.208 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.457, allocations: 8 kB / 1.208 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.459, allocations: 240.7 kB / 1.209 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/1.459, allocations: 28.77 kB / 1.209 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/1.459, allocations: 31.95 kB / 1.209 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000307/1.46, allocations: 231.1 kB / 1.209 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.31e-07/1.46, allocations: 0 / 1.209 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001667/1.461, allocations: 371.6 kB / 1.209 GB, free: 3.184 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 () * 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.007319/1.469, allocations: 2.152 MB / 1.211 GB, free: 1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02168/1.49, allocations: 4.476 MB / 1.216 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.49, allocations: 0 / 1.216 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003221/1.494, allocations: 0.7181 MB / 1.216 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/1.494, allocations: 82.94 kB / 1.216 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/1.499, allocations: 1.806 MB / 1.218 GB, free: 9.863 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/1.5, allocations: 0.8042 MB / 1.219 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004302/1.504, allocations: 0.7071 MB / 1.22 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.505, allocations: 235.2 kB / 1.22 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of SimCode: time 8.82e-07/1.505, allocations: 0 / 1.22 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/1.58, allocations: 41.14 MB / 1.26 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.58, allocations: 201.4 kB / 1.26 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.823/6.403, allocations: 0 / 1.26 GB, free: 14.74 MB / 0.8386 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)