Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001819/0.001819, allocations: 191.2 kB / 16.13 MB, free: 6.711 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.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.75 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.6028/0.6028, allocations: 95.47 MB / 364.8 MB, free: 10.13 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.001388/0.001388, allocations: 68.56 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3697, allocations: 69.08 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004122/0.3739, allocations: 3.401 MB / 0.505 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3753, allocations: 0.9043 MB / 0.5059 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.3756, allocations: 7.938 kB / 0.5059 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.3758, allocations: 43.62 kB / 0.506 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.3761, allocations: 142.9 kB / 0.5061 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3765, allocations: 151.8 kB / 0.5062 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.377, allocations: 0.6196 MB / 0.5068 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.3773, allocations: 215.5 kB / 0.507 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3776, allocations: 227.1 kB / 0.5073 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.3779, allocations: 282.8 kB / 0.5075 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.3779, allocations: 32 kB / 0.5076 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.378, allocations: 36 kB / 0.5076 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3782, allocations: 103.6 kB / 0.5077 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.3784, allocations: 262.6 kB / 0.5079 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.3788, allocations: 0.5351 MB / 0.5085 GB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3788, allocations: 4 kB / 0.5085 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3788, allocations: 0 / 0.5085 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3788, allocations: 0 / 0.5085 GB, free: 10.66 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001524/0.3803, allocations: 0.8185 MB / 0.5093 GB, free: 9.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.3804, allocations: 15.98 kB / 0.5093 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3805, allocations: 64.28 kB / 0.5093 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.381, allocations: 347.2 kB / 0.5097 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.381, allocations: 33.38 kB / 0.5097 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.3811, allocations: 44.38 kB / 0.5098 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.3818, allocations: 394.8 kB / 0.5101 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3818, allocations: 0 / 0.5101 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.3819, allocations: 23.94 kB / 0.5102 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3819, allocations: 8 kB / 0.5102 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.3825, allocations: 331.8 kB / 0.5105 GB, free: 8.52 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.002022/0.3845, allocations: 1.481 MB / 0.5119 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00068/0.3852, allocations: 395 kB / 0.5123 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3855, allocations: 232.8 kB / 0.5125 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.3856, allocations: 7.781 kB / 0.5125 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3856, allocations: 42.56 kB / 0.5126 GB, free: 6.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.3856, allocations: 0 / 0.5126 GB, free: 6.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.006894/0.3925, allocations: 1.807 MB / 0.5143 GB, free: 4.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3926, allocations: 59.41 kB / 0.5144 GB, free: 4.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.3929, allocations: 353.6 kB / 0.5147 GB, free: 3.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.393, allocations: 33.7 kB / 0.5148 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3931, allocations: 216.6 kB / 0.515 GB, free: 3.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/0.3931, allocations: 137.9 kB / 0.5151 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3933, allocations: 69.66 kB / 0.5152 GB, free: 3.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3934, allocations: 354.8 kB / 0.5155 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.3936, allocations: 140.8 kB / 0.5156 GB, free: 3.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.3939, allocations: 197.9 kB / 0.5158 GB, free: 2.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.3944, allocations: 321.4 kB / 0.5161 GB, free: 2.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3944, allocations: 4 kB / 0.5161 GB, free: 2.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001686/0.3961, allocations: 0.7235 MB / 0.5168 GB, free: 1.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3962, allocations: 8 kB / 0.5169 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3962, allocations: 0 / 0.5169 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.3977, allocations: 428.3 kB / 0.5173 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3979, allocations: 19.98 kB / 0.5173 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.404, allocations: 3.749 MB / 0.5209 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.4046, allocations: 51.67 kB / 0.521 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.4046, allocations: 15.88 kB / 0.521 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004618/0.4051, allocations: 248.1 kB / 0.5212 GB, free: 13.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003379/0.4055, allocations: 206.2 kB / 0.5214 GB, free: 12.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005555/0.406, allocations: 317.3 kB / 0.5217 GB, free: 12.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.406, allocations: 0 / 0.5217 GB, free: 12.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001835/0.4079, allocations: 0.7043 MB / 0.5224 GB, free: 11.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4079, allocations: 4 kB / 0.5224 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.4079, allocations: 0 / 0.5224 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.4093, allocations: 389 kB / 0.5228 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4095, allocations: 27.92 kB / 0.5228 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005477/0.4149, allocations: 3.602 MB / 0.5263 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.4155, allocations: 47.81 kB / 0.5264 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.4156, allocations: 8 kB / 0.5264 GB, free: 7.672 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.4158, allocations: 204.1 kB / 0.5266 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4159, allocations: 43.44 kB / 0.5266 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.416, allocations: 56.48 kB / 0.5267 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4161, allocations: 4 kB / 0.5267 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4161, allocations: 0 / 0.5267 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4161, allocations: 4.172 kB / 0.5267 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.4167, allocations: 0.4939 MB / 0.5272 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4167, allocations: 0 / 0.5272 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.4169, allocations: 23.97 kB / 0.5272 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4182, allocations: 364.8 kB / 0.5276 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.4182, allocations: 8 kB / 0.5276 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005586/0.4238, allocations: 3.609 MB / 0.5311 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4239, allocations: 4 kB / 0.5311 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.4256, allocations: 0.784 MB / 0.5319 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.4258, allocations: 140.5 kB / 0.532 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.4259, allocations: 8 kB / 0.532 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.4262, allocations: 27.83 kB / 0.532 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4264, allocations: 39.72 kB / 0.5321 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4264, allocations: 8 kB / 0.5321 GB, free: 1.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.4268, allocations: 255.2 kB / 0.5323 GB, free: 1.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4268, allocations: 0 / 0.5323 GB, free: 1.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001103/0.4279, allocations: 335.5 kB / 0.5326 GB, free: 1.051 MB / 398.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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.4281, allocations: 103.2 kB / 0.5327 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.4306, allocations: 1.104 MB / 0.5338 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4306, allocations: 3.938 kB / 0.5338 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4316, allocations: 497.6 kB / 0.5343 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.4323, allocations: 113.2 kB / 0.5344 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.4341, allocations: 0.9748 MB / 0.5353 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.4346, allocations: 0.8476 MB / 0.5362 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.4348, allocations: 31.28 kB / 0.5362 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.4349, allocations: 23.44 kB / 0.5362 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4349, allocations: 0 / 0.5362 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Templates: time 0.02135/0.4562, allocations: 12.31 MB / 0.5482 GB, free: 1.082 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)