Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.655/2.655, allocations: 287.3 MB / 302.3 MB, free: 8.195 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.001529/0.001529, allocations: 181.7 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001085/0.001084, allocations: 97.61 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005094, allocations: 16.22 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2284, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003236/0.2317, allocations: 2.261 MB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004714/0.2364, allocations: 2.639 MB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.2367, allocations: 0 / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.237, allocations: 51.66 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.2378, allocations: 221.2 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.2396, allocations: 0.4949 MB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00078/0.2404, allocations: 375.2 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.2407, allocations: 86.31 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.2409, allocations: 167.5 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.2412, allocations: 195.2 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.2413, allocations: 20 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.2424, allocations: 363.6 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.2425, allocations: 71.69 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.2426, allocations: 93.52 kB / 0.9851 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008668/0.2435, allocations: 0.5143 MB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2435, allocations: 4 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2435, allocations: 3.938 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.435e-06/0.2435, allocations: 4 kB / 0.9856 GB, free: 20.76 MB / 0.6198 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.001254/0.2448, allocations: 0.6719 MB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2449, allocations: 20 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.278e-05/0.2449, allocations: 58.55 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1859/0.4309, allocations: 10.6 MB / 0.9967 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.4339, allocations: 0.912 MB / 0.9976 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.434, allocations: 20.56 kB / 0.9976 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009413/0.4349, allocations: 28 kB / 0.9977 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02896/0.4639, allocations: 3.555 MB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.464, allocations: 4 kB / 1.001 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004534/0.4644, allocations: 12 kB / 1.001 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4644, allocations: 11.94 kB / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02713/0.4916, allocations: 2.805 MB / 1.004 GB, free: 1.949 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/0.5157, allocations: 17.17 MB / 1.021 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02865/0.5443, allocations: 2.767 MB / 1.023 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.5446, allocations: 31.98 kB / 1.023 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.5446, allocations: 34.56 kB / 1.023 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.847e-06/0.5446, allocations: 0 / 1.023 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.09515/0.6398, allocations: 8.27 MB / 1.031 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.6399, allocations: 51.41 kB / 1.032 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.6408, allocations: 337.6 kB / 1.032 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001267/0.6421, allocations: 33.64 kB / 1.032 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.6426, allocations: 204.6 kB / 1.032 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007674/0.6434, allocations: 70.91 kB / 1.032 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008671/0.6442, allocations: 8 kB / 1.032 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.6445, allocations: 338.8 kB / 1.032 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05079/0.6953, allocations: 3.634 MB / 1.036 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04395/0.7393, allocations: 3.676 MB / 1.04 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03868/0.7781, allocations: 3.357 MB / 1.043 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.7781, allocations: 0 / 1.043 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.08213/0.8603, allocations: 7.519 MB / 1.05 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.8604, allocations: 105 kB / 1.05 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07358/0.934, allocations: 6.831 MB / 1.057 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.9341, allocations: 0 / 1.057 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02942/0.9635, allocations: 1.697 MB / 1.059 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.9636, allocations: 0 / 1.059 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02725/0.9909, allocations: 1.287 MB / 1.06 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/0.9922, allocations: 207.5 kB / 1.06 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9923, allocations: 4 kB / 1.06 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7305/1.723, allocations: 7.463 MB / 1.067 GB, free: 90.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0741/1.797, allocations: 6.829 MB / 1.074 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.797, allocations: 1.188 kB / 1.074 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02969/1.827, allocations: 1.697 MB / 1.076 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/1.827, allocations: 1.375 kB / 1.076 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02677/1.854, allocations: 1.284 MB / 1.077 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.855, allocations: 205.8 kB / 1.077 GB, free: 88.94 MB / 0.6823 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 (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.001213/1.856, allocations: 222.1 kB / 1.077 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005629/1.857, allocations: 35.95 kB / 1.077 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06316/1.92, allocations: 6.361 MB / 1.084 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.92, allocations: 3.594 kB / 1.084 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.92, allocations: 3.609 kB / 1.084 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.92, allocations: 2.438 kB / 1.084 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/1.927, allocations: 6.481 MB / 1.09 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05633/1.983, allocations: 5.288 MB / 1.095 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02444/2.008, allocations: 1.446 MB / 1.097 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/2.008, allocations: 1.031 kB / 1.097 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008334/2.009, allocations: 181.3 kB / 1.097 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/2.009, allocations: 5.406 kB / 1.097 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/2.009, allocations: 0 / 1.097 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05772/2.066, allocations: 5.428 MB / 1.102 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/2.068, allocations: 0.5638 MB / 1.103 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000805/2.069, allocations: 8.25 kB / 1.103 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02258/2.092, allocations: 1.084 MB / 1.104 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/2.092, allocations: 41.78 kB / 1.104 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009633/2.093, allocations: 177.8 kB / 1.104 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003712/2.093, allocations: 230.6 kB / 1.104 GB, free: 74.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/2.094, allocations: 1.25 kB / 1.104 GB, free: 74.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004572/2.098, allocations: 0.5852 MB / 1.105 GB, free: 74.6 MB / 0.6823 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 (34): * Single equations (assignments): 34 * 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.05799/2.156, allocations: 6.045 MB / 1.111 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.09736/2.254, allocations: 9.67 MB / 1.12 GB, free: 62.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/2.254, allocations: 0 / 1.12 GB, free: 62.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.02772/2.281, allocations: 2.736 MB / 1.123 GB, free: 59.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/2.283, allocations: 79.98 kB / 1.123 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/2.312, allocations: 3.48 MB / 1.126 GB, free: 56.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/2.312, allocations: 0.8078 MB / 1.127 GB, free: 55.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.02716/2.34, allocations: 1.641 MB / 1.129 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007564/2.347, allocations: 0.5919 MB / 1.129 GB, free: 53.05 MB / 0.6823 GB Notification: Performance of SimCode: time 3.376e-06/2.347, allocations: 0 / 1.129 GB, free: 53.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/2.555, allocations: 82.56 MB / 1.21 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003601/2.556, allocations: 200.1 kB / 1.21 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/15.37, allocations: 0 / 1.21 GB, free: 2.191 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)