Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 195.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6769/0.6769, allocations: 95.46 MB / 364.9 MB, free: 10.06 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 59.91 kB / 444.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4058, allocations: 69.07 MB / 0.5019 GB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003443/0.4093, allocations: 2.851 MB / 0.5047 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.4129, allocations: 2.848 MB / 0.5074 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.4133, allocations: 4 kB / 0.5075 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.4137, allocations: 65.56 kB / 0.5075 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.4144, allocations: 190.7 kB / 0.5077 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.4159, allocations: 498.6 kB / 0.5082 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.4166, allocations: 0.5212 MB / 0.5087 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.4168, allocations: 118.7 kB / 0.5088 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.417, allocations: 187.3 kB / 0.509 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.4172, allocations: 215.1 kB / 0.5092 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.4173, allocations: 36 kB / 0.5092 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/0.4179, allocations: 363.7 kB / 0.5096 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.418, allocations: 91.69 kB / 0.5096 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.4181, allocations: 207 kB / 0.5098 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.4189, allocations: 0.7089 MB / 0.5105 GB, free: 8.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4189, allocations: 0 / 0.5105 GB, free: 8.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4189, allocations: 0 / 0.5105 GB, free: 8.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4189, allocations: 0 / 0.5105 GB, free: 8.785 MB / 382.1 MB 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.0009886/0.4199, allocations: 0.7478 MB / 0.5113 GB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4199, allocations: 15.98 kB / 0.5113 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007234/0.4272, allocations: 1.046 MB / 0.5123 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.4279, allocations: 463.7 kB / 0.5127 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.4279, allocations: 24.5 kB / 0.5128 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.428, allocations: 24 kB / 0.5128 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.4292, allocations: 0.7734 MB / 0.5135 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4292, allocations: 0 / 0.5135 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.4293, allocations: 8 kB / 0.5136 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4293, allocations: 8 kB / 0.5136 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.4302, allocations: 0.5955 MB / 0.5141 GB, free: 4.996 MB / 382.1 MB 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.002748/0.433, allocations: 2.417 MB / 0.5165 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.4337, allocations: 0.5685 MB / 0.5171 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.4343, allocations: 428.6 kB / 0.5175 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.349e-05/0.4344, allocations: 35.92 kB / 0.5175 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4344, allocations: 34.55 kB / 0.5175 GB, free: 1.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 2.795e-06/0.4344, allocations: 0 / 0.5175 GB, free: 1.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.002471/0.4369, allocations: 1.377 MB / 0.5189 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.437, allocations: 51.41 kB / 0.5189 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.4374, allocations: 345.7 kB / 0.5193 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.4375, allocations: 29.7 kB / 0.5193 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.4377, allocations: 196.4 kB / 0.5195 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.4379, allocations: 78.83 kB / 0.5195 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.4383, allocations: 181.5 kB / 0.5197 GB, free: 15.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.4386, allocations: 354.7 kB / 0.5201 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.4399, allocations: 0.6105 MB / 0.5207 GB, free: 14.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.4411, allocations: 0.6095 MB / 0.5213 GB, free: 13.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.4431, allocations: 1.06 MB / 0.5223 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4431, allocations: 0 / 0.5223 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002652/0.4457, allocations: 1.457 MB / 0.5237 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.4458, allocations: 4 kB / 0.5237 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002279/0.4481, allocations: 1.32 MB / 0.525 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-05/0.4481, allocations: 7.984 kB / 0.525 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.4497, allocations: 215.6 kB / 0.5252 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.4498, allocations: 0 / 0.5252 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.451, allocations: 83.55 kB / 0.5253 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.4512, allocations: 55.88 kB / 0.5253 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001204/0.4524, allocations: 0.726 MB / 0.5261 GB, free: 8.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009908/0.4534, allocations: 0.6012 MB / 0.5266 GB, free: 7.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001826/0.4552, allocations: 1.059 MB / 0.5277 GB, free: 6.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.4553, allocations: 0 / 0.5277 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.002609/0.4579, allocations: 1.453 MB / 0.5291 GB, free: 5.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4579, allocations: 4 kB / 0.5291 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002279/0.4602, allocations: 1.304 MB / 0.5304 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.4602, allocations: 0 / 0.5304 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.4617, allocations: 215.6 kB / 0.5306 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.4617, allocations: 4 kB / 0.5306 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.4629, allocations: 71.73 kB / 0.5307 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.4631, allocations: 59.86 kB / 0.5307 GB, free: 3.762 MB / 398.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004935/0.4636, allocations: 196.1 kB / 0.5309 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.4639, allocations: 35.53 kB / 0.5309 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.4672, allocations: 1.215 MB / 0.5321 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.4672, allocations: 4 kB / 0.5321 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.4672, allocations: 0 / 0.5321 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4672, allocations: 11.86 kB / 0.5321 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.4687, allocations: 0.944 MB / 0.5331 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001787/0.4705, allocations: 0.8957 MB / 0.5339 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.4719, allocations: 191.6 kB / 0.5341 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.4719, allocations: 0 / 0.5341 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.472, allocations: 51.88 kB / 0.5342 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.472, allocations: 0 / 0.5342 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.472, allocations: 0 / 0.5342 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.4743, allocations: 1.029 MB / 0.5352 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/0.4767, allocations: 1.103 MB / 0.5362 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.4769, allocations: 4 kB / 0.5362 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.478, allocations: 51.95 kB / 0.5363 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.4782, allocations: 67.84 kB / 0.5364 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.4784, allocations: 63.81 kB / 0.5364 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.4787, allocations: 239.2 kB / 0.5367 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4787, allocations: 4 kB / 0.5367 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001348/0.4801, allocations: 267.7 kB / 0.5369 GB, free: 13.28 MB / 414.1 MB 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005298/0.4806, allocations: 171.1 kB / 0.5371 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.4841, allocations: 1.693 MB / 0.5387 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4841, allocations: 0 / 0.5387 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.485, allocations: 421.1 kB / 0.5391 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.4858, allocations: 92.03 kB / 0.5392 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.4878, allocations: 1.02 MB / 0.5402 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.4883, allocations: 0.804 MB / 0.541 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002789/0.4911, allocations: 470.5 kB / 0.5414 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/0.4918, allocations: 175.1 kB / 0.5416 GB, free: 8.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4918, allocations: 0 / 0.5416 GB, free: 8.395 MB / 414.1 MB Notification: Performance of Templates: time 0.04169/0.5335, allocations: 21.66 MB / 0.5628 GB, free: 2.676 MB / 430.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)