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.007239/0.00724, allocations: 102 kB / 15.73 MB, free: 6.039 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.001698/0.001698, allocations: 193 kB / 16.67 MB, free: 5.961 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.495/1.495, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4822/0.4822, allocations: 95.48 MB / 365.4 MB, free: 12.15 MB / 318.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.001566/0.001566, allocations: 71.91 kB / 0.5036 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5624, allocations: 69.1 MB / 0.5711 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.006527/0.569, allocations: 3.379 MB / 0.5744 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.5709, allocations: 0.8851 MB / 0.5753 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.5712, allocations: 8 kB / 0.5753 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.5715, allocations: 67.25 kB / 0.5754 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.5719, allocations: 162.6 kB / 0.5755 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.5724, allocations: 175.8 kB / 0.5757 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007916/0.5732, allocations: 0.6429 MB / 0.5763 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.5738, allocations: 240.2 kB / 0.5765 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.5742, allocations: 247.1 kB / 0.5768 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.5747, allocations: 290.8 kB / 0.5771 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.917e-05/0.5749, allocations: 52 kB / 0.5771 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.575, allocations: 52 kB / 0.5772 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.5752, allocations: 127.6 kB / 0.5773 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.5756, allocations: 274.6 kB / 0.5775 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008415/0.5765, allocations: 0.5661 MB / 0.5781 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.5765, allocations: 0 / 0.5781 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.5765, allocations: 0 / 0.5781 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.5765, allocations: 0 / 0.5781 GB, free: 12.96 MB / 446.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.002107/0.5787, allocations: 0.8224 MB / 0.5789 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/0.5787, allocations: 11.98 kB / 0.5789 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.5789, allocations: 56.28 kB / 0.579 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.5795, allocations: 355.1 kB / 0.5793 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.5796, allocations: 37.36 kB / 0.5793 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.5796, allocations: 40.38 kB / 0.5794 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/0.5805, allocations: 398.8 kB / 0.5797 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5805, allocations: 4 kB / 0.5798 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.5805, allocations: 19.98 kB / 0.5798 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5806, allocations: 12 kB / 0.5798 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.5812, allocations: 335.8 kB / 0.5801 GB, free: 10.81 MB / 446.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.002399/0.5836, allocations: 1.454 MB / 0.5815 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.5844, allocations: 395 kB / 0.5819 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.5848, allocations: 232.7 kB / 0.5821 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.5849, allocations: 11.97 kB / 0.5821 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.585, allocations: 42.28 kB / 0.5822 GB, free: 8.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.883e-06/0.585, allocations: 0 / 0.5822 GB, free: 8.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.007713/0.5927, allocations: 1.81 MB / 0.5839 GB, free: 6.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5927, allocations: 63.34 kB / 0.584 GB, free: 6.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.5932, allocations: 357.5 kB / 0.5843 GB, free: 6.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.5932, allocations: 33.7 kB / 0.5844 GB, free: 6.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.5934, allocations: 220.7 kB / 0.5846 GB, free: 6.031 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5936, allocations: 137.9 kB / 0.5847 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5937, allocations: 69.64 kB / 0.5848 GB, free: 5.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.594, allocations: 350.8 kB / 0.5851 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.5944, allocations: 136.8 kB / 0.5852 GB, free: 5.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.5947, allocations: 205.9 kB / 0.5854 GB, free: 5.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.5954, allocations: 321.5 kB / 0.5857 GB, free: 4.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5954, allocations: 4 kB / 0.5858 GB, free: 4.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002402/0.5978, allocations: 0.7236 MB / 0.5865 GB, free: 4.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.5978, allocations: 4 kB / 0.5865 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5978, allocations: 0 / 0.5865 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.5995, allocations: 426.5 kB / 0.5869 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5997, allocations: 23.98 kB / 0.5869 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/0.6064, allocations: 4.081 MB / 0.5909 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.6069, allocations: 59.56 kB / 0.5909 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.6069, allocations: 8 kB / 0.5909 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004509/0.6074, allocations: 252.1 kB / 0.5912 GB, free: 15.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003321/0.6077, allocations: 198.2 kB / 0.5914 GB, free: 14.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005502/0.6083, allocations: 321.5 kB / 0.5917 GB, free: 14.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.6083, allocations: 0 / 0.5917 GB, free: 14.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.00179/0.6101, allocations: 0.7002 MB / 0.5924 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6101, allocations: 4 kB / 0.5924 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.6101, allocations: 3.938 kB / 0.5924 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.6114, allocations: 396.7 kB / 0.5927 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.6116, allocations: 31.91 kB / 0.5928 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/0.6173, allocations: 3.948 MB / 0.5966 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.6178, allocations: 47.81 kB / 0.5967 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.6178, allocations: 8 kB / 0.5967 GB, free: 9.273 MB / 462.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.0001758/0.618, allocations: 192.9 kB / 0.5969 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.6181, allocations: 43.44 kB / 0.5969 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.6182, allocations: 64.42 kB / 0.597 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6182, allocations: 4 kB / 0.597 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6183, allocations: 0 / 0.597 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6183, allocations: 3.984 kB / 0.597 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.6189, allocations: 490.1 kB / 0.5975 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6189, allocations: 0 / 0.5975 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.6191, allocations: 19.98 kB / 0.5975 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.6204, allocations: 381 kB / 0.5978 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.6204, allocations: 7.938 kB / 0.5978 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/0.626, allocations: 3.944 MB / 0.6017 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.626, allocations: 0 / 0.6017 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.6278, allocations: 0.7851 MB / 0.6025 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.628, allocations: 152.4 kB / 0.6026 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.6281, allocations: 8 kB / 0.6026 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.6284, allocations: 15.98 kB / 0.6026 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.6285, allocations: 39.94 kB / 0.6027 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.6285, allocations: 4 kB / 0.6027 GB, free: 2.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.6289, allocations: 259.2 kB / 0.6029 GB, free: 2.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6289, allocations: 4 kB / 0.6029 GB, free: 2.648 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001205/0.6301, allocations: 327.5 kB / 0.6032 GB, free: 2.328 MB / 462.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.000218/0.6303, allocations: 111.2 kB / 0.6033 GB, free: 2.211 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.633, allocations: 1.12 MB / 0.6044 GB, free: 1.062 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.633, allocations: 0 / 0.6044 GB, free: 1.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.634, allocations: 0.4937 MB / 0.6049 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.6347, allocations: 125.3 kB / 0.605 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6365, allocations: 0.7971 MB / 0.6058 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.6371, allocations: 0.8362 MB / 0.6066 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.6373, allocations: 39.2 kB / 0.6067 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.6374, allocations: 27.44 kB / 0.6067 GB, free: 14.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6374, allocations: 0 / 0.6067 GB, free: 14.68 MB / 478.1 MB Notification: Performance of Templates: time 0.02653/0.6639, allocations: 13.73 MB / 0.6201 GB, free: 1.078 MB / 478.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)