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.433/2.433, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001533/0.001532, allocations: 184.8 kB / 360.6 MB, free: 7.281 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.044/2.044, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001036/0.001036, allocations: 97.09 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.642e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8313, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.326/1.157, allocations: 145.2 MB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004694/1.158, allocations: 91.94 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07702/1.235, allocations: 15.93 MB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.473e-06/1.235, allocations: 1.688 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.522e-05/1.235, allocations: 11.98 kB / 1.121 GB, free: 11.26 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.001381/1.236, allocations: 0.6516 MB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.236, allocations: 8.031 kB / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1973/1.434, allocations: 11.06 MB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02908/1.463, allocations: 2.501 MB / 1.135 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/1.463, allocations: 15.94 kB / 1.135 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006299/1.464, allocations: 16 kB / 1.135 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001979/1.466, allocations: 0.6923 MB / 1.135 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/1.468, allocations: 0.9243 MB / 1.136 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.468, allocations: 0 / 1.136 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/1.469, allocations: 224 / 1.136 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/1.469, allocations: 4 kB / 1.136 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/1.479, allocations: 5.432 MB / 1.142 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/1.481, allocations: 0.6861 MB / 1.142 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/1.483, allocations: 0.536 MB / 1.143 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/1.483, allocations: 35.97 kB / 1.143 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/1.483, allocations: 33.44 kB / 1.143 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 3.837e-06/1.483, allocations: 1.312 kB / 1.143 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.01268/1.496, allocations: 1.835 MB / 1.145 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/1.496, allocations: 55.36 kB / 1.145 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/1.496, allocations: 245.2 kB / 1.145 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004697/1.497, allocations: 29.7 kB / 1.145 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/1.497, allocations: 200.5 kB / 1.145 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/1.497, allocations: 78.84 kB / 1.145 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/1.498, allocations: 0 / 1.145 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.498, allocations: 338.8 kB / 1.146 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.501, allocations: 1.059 MB / 1.147 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/1.504, allocations: 1.123 MB / 1.148 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02055/1.525, allocations: 2.385 MB / 1.15 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.525, allocations: 0 / 1.15 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0255/1.55, allocations: 3.704 MB / 1.154 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.573e-05/1.551, allocations: 95.91 kB / 1.154 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02352/1.574, allocations: 3.302 MB / 1.157 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/1.574, allocations: 3.953 kB / 1.157 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01659/1.591, allocations: 0.9481 MB / 1.158 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.591, allocations: 4 kB / 1.158 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/1.606, allocations: 0.7918 MB / 1.159 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006134/1.607, allocations: 75.88 kB / 1.159 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.607, allocations: 4 kB / 1.159 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02552/1.633, allocations: 3.65 MB / 1.162 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02331/1.656, allocations: 3.284 MB / 1.166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.656, allocations: 0 / 1.166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02069/1.677, allocations: 0.9559 MB / 1.166 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.677, allocations: 0 / 1.166 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0161/1.693, allocations: 0.7803 MB / 1.167 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006034/1.694, allocations: 71.89 kB / 1.167 GB, free: 10.43 MB / 0.7761 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 () * 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.0005753/1.694, allocations: 116.6 kB / 1.167 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01214/1.706, allocations: 1.833 MB / 1.169 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/1.707, allocations: 27.62 kB / 1.169 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.718, allocations: 1.762 MB / 1.171 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.718, allocations: 4 kB / 1.171 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.718, allocations: 0 / 1.171 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.718, allocations: 7.984 kB / 1.171 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.72, allocations: 1.042 MB / 1.172 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007063/1.727, allocations: 1.169 MB / 1.173 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005306/1.733, allocations: 331.6 kB / 1.173 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/1.733, allocations: 4 kB / 1.173 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.733, allocations: 23.97 kB / 1.173 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/1.733, allocations: 0 / 1.173 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.733, allocations: 3.938 kB / 1.173 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/1.74, allocations: 1.319 MB / 1.175 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/1.741, allocations: 233.8 kB / 1.175 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/1.741, allocations: 1.312 kB / 1.175 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004816/1.746, allocations: 235.7 kB / 1.175 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.746, allocations: 31.77 kB / 1.175 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.746, allocations: 27.95 kB / 1.175 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002992/1.747, allocations: 192.6 kB / 1.175 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.01e-07/1.747, allocations: 0 / 1.175 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002235/1.749, allocations: 363.5 kB / 1.176 GB, free: 1.617 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.008127/1.757, allocations: 1.93 MB / 1.178 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00734/1.765, allocations: 2.392 MB / 1.18 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.765, allocations: 0 / 1.18 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.766, allocations: 411.8 kB / 1.18 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/1.767, allocations: 55.2 kB / 1.18 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/1.769, allocations: 0.729 MB / 1.181 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/1.77, allocations: 0.8079 MB / 1.182 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00838/1.778, allocations: 0.72 MB / 1.183 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/1.78, allocations: 227.2 kB / 1.183 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of SimCode: time 1.473e-06/1.78, allocations: 0 / 1.183 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/1.922, allocations: 39.22 MB / 1.221 GB, free: 3.078 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/1.923, allocations: 162.1 kB / 1.221 GB, free: 2.883 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/8.574, allocations: 0 / 1.221 GB, free: 2.883 MB / 0.823 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)