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.001379/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001929/0.001929, allocations: 188.1 kB / 16.13 MB, free: 6.652 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.497/1.497, allocations: 205.1 MB / 222 MB, free: 4.754 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.5904/0.5904, allocations: 95.47 MB / 364.8 MB, free: 10.1 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.001593/0.001593, allocations: 63.92 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4199, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003858/0.4239, allocations: 2.846 MB / 0.5045 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.4278, allocations: 2.887 MB / 0.5073 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.428, allocations: 7.938 kB / 0.5073 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.4283, allocations: 65.56 kB / 0.5074 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.4289, allocations: 198.5 kB / 0.5076 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4299, allocations: 478.6 kB / 0.508 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.4304, allocations: 0.4977 MB / 0.5085 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4306, allocations: 106.5 kB / 0.5086 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.4307, allocations: 163.4 kB / 0.5088 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.4309, allocations: 215 kB / 0.509 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.431, allocations: 24 kB / 0.509 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.4316, allocations: 347.7 kB / 0.5093 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.4317, allocations: 71.69 kB / 0.5094 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.4318, allocations: 198.9 kB / 0.5096 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.4325, allocations: 0.6777 MB / 0.5102 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.4326, allocations: 7.984 kB / 0.5103 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4326, allocations: 0 / 0.5103 GB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.4326, allocations: 0 / 0.5103 GB, free: 8.824 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.001324/0.4339, allocations: 0.7517 MB / 0.511 GB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.434, allocations: 15.98 kB / 0.511 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007306/0.4413, allocations: 1.042 MB / 0.512 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.4419, allocations: 471.7 kB / 0.5125 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4419, allocations: 24.5 kB / 0.5125 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.4421, allocations: 24 kB / 0.5125 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.4432, allocations: 0.7655 MB / 0.5133 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4432, allocations: 3.984 kB / 0.5133 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.4433, allocations: 12 kB / 0.5133 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.4433, allocations: 7.938 kB / 0.5133 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.4443, allocations: 0.6034 MB / 0.5139 GB, free: 5.02 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.003001/0.4473, allocations: 2.413 MB / 0.5162 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.4481, allocations: 0.5646 MB / 0.5168 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007232/0.4489, allocations: 428.6 kB / 0.5172 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.449, allocations: 31.98 kB / 0.5172 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.449, allocations: 34.56 kB / 0.5173 GB, free: 1.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 2.605e-06/0.449, allocations: 0 / 0.5173 GB, free: 1.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.002506/0.4516, allocations: 1.372 MB / 0.5186 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4516, allocations: 59.39 kB / 0.5187 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.4521, allocations: 345.6 kB / 0.519 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.146e-05/0.4522, allocations: 29.7 kB / 0.519 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.4524, allocations: 192.4 kB / 0.5192 GB, free: 15.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.4525, allocations: 86.84 kB / 0.5193 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004551/0.453, allocations: 169.6 kB / 0.5194 GB, free: 15.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4531, allocations: 354.7 kB / 0.5198 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.4542, allocations: 0.6105 MB / 0.5204 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.4553, allocations: 0.6095 MB / 0.521 GB, free: 13.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.4572, allocations: 1.068 MB / 0.522 GB, free: 12.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4572, allocations: 3.938 kB / 0.522 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002796/0.46, allocations: 1.457 MB / 0.5234 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.4601, allocations: 6.188 kB / 0.5234 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002314/0.4624, allocations: 1.316 MB / 0.5247 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.4624, allocations: 4 kB / 0.5247 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.464, allocations: 215.6 kB / 0.5249 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.464, allocations: 4 kB / 0.5249 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.4652, allocations: 75.56 kB / 0.525 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.4653, allocations: 59.86 kB / 0.5251 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001148/0.4665, allocations: 0.7221 MB / 0.5258 GB, free: 8.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009988/0.4675, allocations: 0.6012 MB / 0.5264 GB, free: 7.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002033/0.4696, allocations: 1.059 MB / 0.5274 GB, free: 6.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.4696, allocations: 0 / 0.5274 GB, free: 6.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.002573/0.4721, allocations: 1.445 MB / 0.5288 GB, free: 5.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4722, allocations: 11.98 kB / 0.5288 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002306/0.4745, allocations: 1.304 MB / 0.5301 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.4745, allocations: 0 / 0.5301 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.476, allocations: 219.6 kB / 0.5303 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.476, allocations: 0 / 0.5303 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4771, allocations: 71.73 kB / 0.5304 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.4772, allocations: 55.88 kB / 0.5304 GB, free: 3.805 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.0003866/0.4776, allocations: 200.1 kB / 0.5306 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.4778, allocations: 35.53 kB / 0.5306 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.4805, allocations: 1.223 MB / 0.5318 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4806, allocations: 4 kB / 0.5318 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4806, allocations: 0 / 0.5318 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4806, allocations: 11.92 kB / 0.5319 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.4818, allocations: 0.944 MB / 0.5328 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001751/0.4835, allocations: 0.884 MB / 0.5336 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.4848, allocations: 191.6 kB / 0.5338 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.4848, allocations: 8 kB / 0.5338 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4849, allocations: 47.88 kB / 0.5339 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4849, allocations: 4 kB / 0.5339 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4849, allocations: 0 / 0.5339 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.4868, allocations: 1.033 MB / 0.5349 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/0.489, allocations: 1.095 MB / 0.536 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.4891, allocations: 8 kB / 0.536 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.4902, allocations: 55.95 kB / 0.536 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.4904, allocations: 67.84 kB / 0.5361 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.4906, allocations: 63.81 kB / 0.5361 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.4908, allocations: 239.2 kB / 0.5364 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4908, allocations: 0 / 0.5364 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001176/0.492, allocations: 271.6 kB / 0.5366 GB, free: 13.31 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.0005665/0.4926, allocations: 163 kB / 0.5368 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.4958, allocations: 1.682 MB / 0.5384 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4958, allocations: 0 / 0.5384 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.4967, allocations: 425.1 kB / 0.5388 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.4975, allocations: 73.53 kB / 0.5389 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4993, allocations: 1.03 MB / 0.5399 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.4998, allocations: 0.8 MB / 0.5407 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002353/0.5021, allocations: 466.6 kB / 0.5411 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/0.5028, allocations: 179 kB / 0.5413 GB, free: 8.453 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5028, allocations: 0 / 0.5413 GB, free: 8.453 MB / 414.1 MB Notification: Performance of Templates: time 0.03408/0.5369, allocations: 20.94 MB / 0.5618 GB, free: 3.449 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)