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.001138/0.001143, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01213/0.01213, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.695/1.695, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.7416/0.7416, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.000591/0.0005918, allocations: 16 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4053, allocations: 70.34 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003146/0.4085, allocations: 3.015 MB / 0.5086 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4099, allocations: 0.8927 MB / 0.5095 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.4101, allocations: 11.94 kB / 0.5095 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.4103, allocations: 39.62 kB / 0.5095 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.4106, allocations: 142.9 kB / 0.5097 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.411, allocations: 147.8 kB / 0.5098 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.4114, allocations: 0.6156 MB / 0.5104 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.4117, allocations: 219.4 kB / 0.5106 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.4119, allocations: 199.2 kB / 0.5108 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.4122, allocations: 246.8 kB / 0.5111 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.4123, allocations: 24 kB / 0.5111 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.4124, allocations: 24 kB / 0.5111 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.4125, allocations: 91.53 kB / 0.5112 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.4126, allocations: 260.4 kB / 0.5114 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.413, allocations: 0.5194 MB / 0.5119 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.413, allocations: 4 kB / 0.5119 GB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.413, allocations: 0 / 0.5119 GB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.413, allocations: 0 / 0.5119 GB, free: 9.859 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.001195/0.4142, allocations: 0.7445 MB / 0.5127 GB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4143, allocations: 15.98 kB / 0.5127 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.4144, allocations: 52.38 kB / 0.5127 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.4147, allocations: 339.1 kB / 0.5131 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.4148, allocations: 37.38 kB / 0.5131 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.4148, allocations: 44.36 kB / 0.5131 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.4155, allocations: 406.7 kB / 0.5135 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4155, allocations: 0 / 0.5135 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.4155, allocations: 20 kB / 0.5135 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4155, allocations: 12 kB / 0.5136 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.4161, allocations: 335.8 kB / 0.5139 GB, free: 7.789 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.00176/0.4179, allocations: 1.489 MB / 0.5153 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.4185, allocations: 396.7 kB / 0.5157 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.4189, allocations: 240.7 kB / 0.5159 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.4189, allocations: 7.781 kB / 0.5159 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4189, allocations: 38.56 kB / 0.516 GB, free: 5.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.522e-06/0.4189, allocations: 0 / 0.516 GB, free: 5.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.007086/0.426, allocations: 1.842 MB / 0.5178 GB, free: 3.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.4261, allocations: 55.41 kB / 0.5178 GB, free: 3.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.4264, allocations: 357.6 kB / 0.5182 GB, free: 3.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.4264, allocations: 33.64 kB / 0.5182 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.4266, allocations: 216.6 kB / 0.5184 GB, free: 2.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.4267, allocations: 142 kB / 0.5186 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.4267, allocations: 33.7 kB / 0.5186 GB, free: 2.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.4268, allocations: 350.8 kB / 0.5189 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.427, allocations: 143.9 kB / 0.5191 GB, free: 2.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.4273, allocations: 205.9 kB / 0.5193 GB, free: 2.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.4278, allocations: 329.4 kB / 0.5196 GB, free: 1.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4279, allocations: 4 kB / 0.5196 GB, free: 1.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001665/0.4295, allocations: 0.7314 MB / 0.5203 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.4296, allocations: 93.3 kB / 0.5204 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4296, allocations: 0 / 0.5204 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.4311, allocations: 416.5 kB / 0.5208 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4312, allocations: 35.92 kB / 0.5208 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.4375, allocations: 3.764 MB / 0.5245 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.4381, allocations: 55.56 kB / 0.5245 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.4381, allocations: 16 kB / 0.5245 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4381, allocations: 4 kB / 0.5246 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001806/0.4399, allocations: 0.6524 MB / 0.5252 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.44, allocations: 0 / 0.5252 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.4413, allocations: 385 kB / 0.5256 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4415, allocations: 31.91 kB / 0.5256 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006114/0.4476, allocations: 3.594 MB / 0.5291 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.4482, allocations: 59.5 kB / 0.5292 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.4482, allocations: 12.12 kB / 0.5292 GB, free: 7.625 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.000413/0.4486, allocations: 229.1 kB / 0.5294 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4488, allocations: 39.53 kB / 0.5294 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.4489, allocations: 64.48 kB / 0.5295 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4489, allocations: 7.938 kB / 0.5295 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4489, allocations: 7.969 kB / 0.5295 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.449, allocations: 4 kB / 0.5295 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.4497, allocations: 494 kB / 0.53 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4497, allocations: 0 / 0.53 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.4498, allocations: 31.97 kB / 0.53 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.4512, allocations: 360.8 kB / 0.5303 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.4512, allocations: 4 kB / 0.5304 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005936/0.4572, allocations: 3.621 MB / 0.5339 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4572, allocations: 0 / 0.5339 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.4591, allocations: 0.7994 MB / 0.5347 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.4594, allocations: 144.5 kB / 0.5348 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.4595, allocations: 8 kB / 0.5348 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.4598, allocations: 27.83 kB / 0.5348 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.46, allocations: 39.94 kB / 0.5349 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.46, allocations: 8 kB / 0.5349 GB, free: 1.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.4603, allocations: 255.2 kB / 0.5351 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4603, allocations: 0 / 0.5351 GB, free: 1.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001213/0.4615, allocations: 331.5 kB / 0.5354 GB, free: 0.9492 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.0001728/0.4617, allocations: 111.2 kB / 0.5356 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.4643, allocations: 1.109 MB / 0.5366 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4643, allocations: 0 / 0.5366 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.4655, allocations: 0.5053 MB / 0.5371 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.4662, allocations: 116 kB / 0.5372 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4681, allocations: 0.9862 MB / 0.5382 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.4688, allocations: 0.8359 MB / 0.539 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.469, allocations: 39.27 kB / 0.5391 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.4691, allocations: 19.44 kB / 0.5391 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4691, allocations: 0 / 0.5391 GB, free: 13.13 MB / 414.1 MB Notification: Performance of Templates: time 0.02514/0.4942, allocations: 12.1 MB / 0.5509 GB, free: 1.156 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: