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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.00113/0.001131, allocations: 90.52 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.008609/0.00861, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 11.47 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003538/0.3697, allocations: 2.957 MB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3716, allocations: 0.8297 MB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.3718, allocations: 15.94 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.372, allocations: 43.62 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.3724, allocations: 150.8 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.3729, allocations: 159.8 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006268/0.3735, allocations: 0.6195 MB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.374, allocations: 211.4 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.3743, allocations: 215.1 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.3746, allocations: 254.8 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.3747, allocations: 24 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-05/0.3748, allocations: 27.94 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3749, allocations: 83.66 kB / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3751, allocations: 264.3 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.3756, allocations: 0.5294 MB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3756, allocations: 0 / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3756, allocations: 4 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3757, allocations: 0 / 1.08 GB, free: 1.125 MB / 0.8262 GB 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.001383/0.377, allocations: 0.7446 MB / 1.081 GB, free: 340 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3771, allocations: 8.031 kB / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3772, allocations: 60.28 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.3777, allocations: 343.1 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.3777, allocations: 37.38 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/0.3778, allocations: 40.38 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.3786, allocations: 406.8 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3786, allocations: 0 / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.3786, allocations: 20 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3787, allocations: 12 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/0.3793, allocations: 343.8 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB 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.00222/0.3816, allocations: 1.504 MB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.3823, allocations: 407.9 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.3827, allocations: 237.3 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.3828, allocations: 4 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3828, allocations: 38.56 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.863e-06/0.3828, allocations: 3.938 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.007916/0.3907, allocations: 1.845 MB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3908, allocations: 63.34 kB / 1.086 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.3912, allocations: 345.7 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.3913, allocations: 37.64 kB / 1.087 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.3914, allocations: 212.6 kB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3916, allocations: 145.9 kB / 1.087 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.3916, allocations: 37.7 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3918, allocations: 346.8 kB / 1.087 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3921, allocations: 143.9 kB / 1.087 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.3925, allocations: 221.8 kB / 1.088 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.3931, allocations: 333.2 kB / 1.088 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3931, allocations: 4 kB / 1.088 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002117/0.3952, allocations: 0.7548 MB / 1.089 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.3953, allocations: 100.9 kB / 1.089 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3953, allocations: 0 / 1.089 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.3971, allocations: 460.9 kB / 1.089 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3973, allocations: 23.98 kB / 1.089 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/0.4038, allocations: 3.864 MB / 1.093 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.4043, allocations: 51.64 kB / 1.093 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.4044, allocations: 12 kB / 1.093 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.4044, allocations: 9.656 kB / 1.093 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001972/0.4064, allocations: 0.6799 MB / 1.094 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.4064, allocations: 0 / 1.094 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.408, allocations: 428.5 kB / 1.094 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4081, allocations: 31.92 kB / 1.094 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.4137, allocations: 3.713 MB / 1.098 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.4142, allocations: 55.72 kB / 1.098 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.4143, allocations: 4 kB / 1.098 GB, free: 14.5 MB / 0.8575 GB 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 {(6,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.4145, allocations: 233.1 kB / 1.098 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.4146, allocations: 43.52 kB / 1.098 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.4147, allocations: 60.42 kB / 1.098 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4148, allocations: 8 kB / 1.098 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4148, allocations: 4 kB / 1.098 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4148, allocations: 3.938 kB / 1.098 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.4154, allocations: 0.4941 MB / 1.099 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4154, allocations: 3.984 kB / 1.099 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.4155, allocations: 23.98 kB / 1.099 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.4171, allocations: 397 kB / 1.099 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.4171, allocations: 8 kB / 1.099 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.4227, allocations: 3.67 MB / 1.103 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4227, allocations: 4 kB / 1.103 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.4247, allocations: 0.8225 MB / 1.104 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.4249, allocations: 148.5 kB / 1.104 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.4249, allocations: 4 kB / 1.104 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.4253, allocations: 31.89 kB / 1.104 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4254, allocations: 43.86 kB / 1.104 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.4254, allocations: 15.94 kB / 1.104 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002759/0.4257, allocations: 251.2 kB / 1.104 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4257, allocations: 0 / 1.104 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001007/0.4267, allocations: 339.5 kB / 1.104 GB, free: 7.691 MB / 0.8575 GB 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.0001731/0.4269, allocations: 109.3 kB / 1.104 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002647/0.4295, allocations: 1.172 MB / 1.106 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4296, allocations: 4 kB / 1.106 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.4306, allocations: 0.5093 MB / 1.106 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.4313, allocations: 109.3 kB / 1.106 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.433, allocations: 1.009 MB / 1.107 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.4334, allocations: 0.8404 MB / 1.108 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00015/0.4336, allocations: 39.2 kB / 1.108 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.4336, allocations: 23.44 kB / 1.108 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of SimCode: time 4.3e-07/0.4337, allocations: 0 / 1.108 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of Templates: time 0.02215/0.4558, allocations: 12.34 MB / 1.12 GB, free: 7.574 MB / 0.8731 GB 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)