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.001648/0.001648, 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.00223/0.00223, allocations: 195.4 kB / 16.25 MB, free: 6.621 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.535/1.535, allocations: 205.1 MB / 222.1 MB, free: 4.617 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.5742/0.5742, allocations: 95.48 MB / 364.9 MB, free: 10.02 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.001595/0.001595, allocations: 64.47 kB / 444.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3618, allocations: 69.08 MB / 0.5019 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004443/0.3663, allocations: 3.413 MB / 0.5052 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3679, allocations: 0.8966 MB / 0.5061 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.3681, allocations: 8 kB / 0.5061 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.3683, allocations: 47.56 kB / 0.5062 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.3687, allocations: 138.9 kB / 0.5063 GB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.3691, allocations: 151.8 kB / 0.5064 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.3696, allocations: 0.643 MB / 0.5071 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.37, allocations: 240.1 kB / 0.5073 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.3702, allocations: 247.1 kB / 0.5075 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.3705, allocations: 294.8 kB / 0.5078 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.3706, allocations: 52 kB / 0.5079 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.3707, allocations: 52 kB / 0.5079 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3708, allocations: 123.5 kB / 0.508 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.371, allocations: 270.7 kB / 0.5083 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.3715, allocations: 0.5469 MB / 0.5088 GB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3715, allocations: 0 / 0.5088 GB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.3715, allocations: 8 kB / 0.5088 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3716, allocations: 0 / 0.5088 GB, free: 10.39 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.001515/0.3731, allocations: 0.8223 MB / 0.5096 GB, free: 9.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3731, allocations: 11.98 kB / 0.5096 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3732, allocations: 60.28 kB / 0.5097 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.3737, allocations: 339.2 kB / 0.51 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.3737, allocations: 37.38 kB / 0.5101 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.3738, allocations: 44.38 kB / 0.5101 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.3744, allocations: 402.7 kB / 0.5105 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3744, allocations: 0 / 0.5105 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.3745, allocations: 12 kB / 0.5105 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3745, allocations: 12 kB / 0.5105 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/0.3751, allocations: 331.8 kB / 0.5108 GB, free: 8.258 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.001983/0.3771, allocations: 1.485 MB / 0.5123 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.3777, allocations: 391.8 kB / 0.5126 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.378, allocations: 236.7 kB / 0.5129 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.3781, allocations: 7.781 kB / 0.5129 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.3781, allocations: 38.56 kB / 0.5129 GB, free: 5.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.323e-06/0.3781, allocations: 0 / 0.5129 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.006659/0.3847, allocations: 1.807 MB / 0.5147 GB, free: 4.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3848, allocations: 59.34 kB / 0.5147 GB, free: 4.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3851, allocations: 357.6 kB / 0.5151 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3851, allocations: 33.7 kB / 0.5151 GB, free: 3.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3853, allocations: 220.6 kB / 0.5153 GB, free: 3.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-05/0.3854, allocations: 137.9 kB / 0.5154 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3855, allocations: 69.59 kB / 0.5155 GB, free: 3.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3856, allocations: 354.8 kB / 0.5159 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.3859, allocations: 136.8 kB / 0.516 GB, free: 2.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3862, allocations: 201.9 kB / 0.5162 GB, free: 2.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3866, allocations: 321.4 kB / 0.5165 GB, free: 2.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3867, allocations: 0 / 0.5165 GB, free: 2.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001642/0.3883, allocations: 0.7274 MB / 0.5172 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.3883, allocations: 4 kB / 0.5172 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3884, allocations: 3.938 kB / 0.5172 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.3899, allocations: 424.4 kB / 0.5176 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.39, allocations: 27.98 kB / 0.5176 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/0.3965, allocations: 4.095 MB / 0.5216 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.397, allocations: 55.56 kB / 0.5217 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.397, allocations: 8 kB / 0.5217 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004372/0.3975, allocations: 252 kB / 0.5219 GB, free: 12.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003343/0.3978, allocations: 202.2 kB / 0.5221 GB, free: 12.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000545/0.3984, allocations: 317.4 kB / 0.5224 GB, free: 11.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.3984, allocations: 0 / 0.5224 GB, free: 11.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001815/0.4002, allocations: 0.7083 MB / 0.5231 GB, free: 11.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.4002, allocations: 4 kB / 0.5231 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.4003, allocations: 0 / 0.5231 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.4016, allocations: 393 kB / 0.5235 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4018, allocations: 23.98 kB / 0.5235 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/0.4076, allocations: 3.953 MB / 0.5274 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.4082, allocations: 47.72 kB / 0.5274 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.4082, allocations: 12 kB / 0.5274 GB, free: 6.695 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.0001677/0.4084, allocations: 196.2 kB / 0.5276 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.4085, allocations: 39.53 kB / 0.5277 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.4086, allocations: 64.36 kB / 0.5277 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4086, allocations: 8 kB / 0.5277 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4086, allocations: 0 / 0.5277 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4086, allocations: 4 kB / 0.5277 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.4093, allocations: 497.8 kB / 0.5282 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4093, allocations: 7.938 kB / 0.5282 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4094, allocations: 19.98 kB / 0.5282 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.4107, allocations: 368.8 kB / 0.5286 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.4108, allocations: 12.12 kB / 0.5286 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005948/0.4167, allocations: 3.952 MB / 0.5325 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4167, allocations: 0 / 0.5325 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4185, allocations: 0.7763 MB / 0.5332 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.4187, allocations: 152.4 kB / 0.5334 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.4187, allocations: 11.94 kB / 0.5334 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.4191, allocations: 23.92 kB / 0.5334 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4192, allocations: 43.72 kB / 0.5334 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.4192, allocations: 8 kB / 0.5334 GB, free: 300 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.4195, allocations: 255.2 kB / 0.5337 GB, free: 48 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4195, allocations: 0 / 0.5337 GB, free: 48 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009912/0.4205, allocations: 331.6 kB / 0.534 GB, free: 15.72 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 (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.0001632/0.4207, allocations: 107.2 kB / 0.5341 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.4233, allocations: 1.112 MB / 0.5352 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4234, allocations: 0 / 0.5352 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.4244, allocations: 0.5054 MB / 0.5357 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.4251, allocations: 125.3 kB / 0.5358 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.427, allocations: 0.9729 MB / 0.5368 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.4277, allocations: 0.8362 MB / 0.5376 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.4279, allocations: 39.27 kB / 0.5376 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.428, allocations: 23.44 kB / 0.5376 GB, free: 11.9 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.428, allocations: 0 / 0.5376 GB, free: 11.9 MB / 414.1 MB Notification: Performance of Templates: time 0.02473/0.4527, allocations: 13.05 MB / 0.5504 GB, free: 14.98 MB / 430.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)