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.822/1.822, allocations: 289.7 MB / 302.2 MB, free: 2.121 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.001193/0.001194, allocations: 181.4 kB / 371.6 MB, free: 3.41 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.841/1.841, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009584/0.0009583, allocations: 96.47 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.217e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2834, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9573/1.241, allocations: 147.2 MB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.241, allocations: 90.5 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04213/1.283, allocations: 16.42 MB / 1.14 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/1.283, allocations: 0 / 1.14 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.055e-05/1.283, allocations: 8 kB / 1.14 GB, free: 29.1 MB / 0.7448 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.0009623/1.284, allocations: 0.6554 MB / 1.14 GB, free: 28.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.284, allocations: 8.734 kB / 1.14 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/1.284, allocations: 63.41 kB / 1.14 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09572/1.38, allocations: 11.06 MB / 1.151 GB, free: 20.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/1.396, allocations: 2.497 MB / 1.154 GB, free: 19.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/1.396, allocations: 27.12 kB / 1.154 GB, free: 19.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006144/1.397, allocations: 27.31 kB / 1.154 GB, free: 18.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/1.399, allocations: 0.9573 MB / 1.155 GB, free: 18.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.399, allocations: 4 kB / 1.155 GB, free: 18.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.399, allocations: 10.81 kB / 1.155 GB, free: 18.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.399, allocations: 5.812 kB / 1.155 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009948/1.4, allocations: 0.7053 MB / 1.155 GB, free: 18.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005624/1.405, allocations: 5.475 MB / 1.161 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.406, allocations: 0.6747 MB / 1.161 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/1.407, allocations: 0.5367 MB / 1.162 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/1.407, allocations: 35.81 kB / 1.162 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/1.407, allocations: 37.5 kB / 1.162 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.786e-06/1.407, allocations: 0 / 1.162 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.002225/1.41, allocations: 1.11 MB / 1.163 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/1.41, allocations: 57.91 kB / 1.163 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/1.41, allocations: 286.9 kB / 1.163 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/1.41, allocations: 28.58 kB / 1.163 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/1.41, allocations: 202.5 kB / 1.164 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/1.411, allocations: 75.91 kB / 1.164 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/1.411, allocations: 3.312 kB / 1.164 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/1.411, allocations: 347.4 kB / 1.164 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.412, allocations: 1.06 MB / 1.165 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/1.414, allocations: 1.123 MB / 1.166 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/1.416, allocations: 0.9095 MB / 1.167 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.416, allocations: 8.594 kB / 1.167 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004/1.42, allocations: 2.221 MB / 1.169 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/1.42, allocations: 184 kB / 1.169 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003368/1.423, allocations: 1.875 MB / 1.171 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.423, allocations: 4 kB / 1.171 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/1.433, allocations: 0.9518 MB / 1.172 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/1.433, allocations: 0.7031 kB / 1.172 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008128/1.441, allocations: 0.8024 MB / 1.173 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/1.442, allocations: 78.81 kB / 1.173 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.442, allocations: 4 kB / 1.173 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003921/1.446, allocations: 2.172 MB / 1.175 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002898/1.449, allocations: 1.875 MB / 1.177 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/1.449, allocations: 0 / 1.177 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008339/1.457, allocations: 0.9506 MB / 1.178 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.457, allocations: 4 kB / 1.178 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00796/1.465, allocations: 0.7829 MB / 1.179 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/1.466, allocations: 81.77 kB / 1.179 GB, free: 2 MB / 0.7448 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.0004245/1.466, allocations: 116.1 kB / 1.179 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/1.466, allocations: 35.61 kB / 1.179 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/1.47, allocations: 1.357 MB / 1.18 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.47, allocations: 7.984 kB / 1.18 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.47, allocations: 4 kB / 1.18 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.47, allocations: 3.984 kB / 1.18 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/1.471, allocations: 1.09 MB / 1.181 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001274/1.472, allocations: 0.7615 MB / 1.182 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002818/1.475, allocations: 334 kB / 1.182 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.475, allocations: 0 / 1.182 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/1.475, allocations: 31.52 kB / 1.182 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.475, allocations: 3.938 kB / 1.182 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.475, allocations: 0 / 1.182 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/1.477, allocations: 0.9003 MB / 1.183 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/1.477, allocations: 246.3 kB / 1.184 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.478, allocations: 10.62 kB / 1.184 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.48, allocations: 239.3 kB / 1.184 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/1.48, allocations: 27.14 kB / 1.184 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/1.48, allocations: 31.52 kB / 1.184 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003143/1.481, allocations: 230.7 kB / 1.184 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.481, allocations: 0 / 1.184 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001796/1.482, allocations: 373.2 kB / 1.184 GB, free: 13.34 MB / 0.7605 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.002761/1.485, allocations: 1.532 MB / 1.186 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004772/1.49, allocations: 2.422 MB / 1.188 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.49, allocations: 0 / 1.188 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006949/1.491, allocations: 418.2 kB / 1.189 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/1.491, allocations: 73.11 kB / 1.189 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/1.494, allocations: 0.7599 MB / 1.189 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/1.494, allocations: 0.8083 MB / 1.19 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004308/1.498, allocations: 0.7227 MB / 1.191 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.499, allocations: 231 kB / 1.191 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of SimCode: time 1.252e-06/1.499, allocations: 0.75 kB / 1.191 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07897/1.578, allocations: 41.85 MB / 1.232 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.579, allocations: 173.2 kB / 1.232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.161/6.74, allocations: 0 / 1.232 GB, free: 13.99 MB / 0.8073 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)