Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1659/0.168, allocations: 80.84 MB / 0.6707 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.006232/0.1743, allocations: 3.372 MB / 0.6739 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1761, allocations: 0.8929 MB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.1763, allocations: 15.88 kB / 0.6748 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.1765, allocations: 63.3 kB / 0.6749 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.1769, allocations: 166.6 kB / 0.6751 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.1774, allocations: 182.7 kB / 0.6752 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005961/0.178, allocations: 0.643 MB / 0.6759 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.1784, allocations: 244.1 kB / 0.6761 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1786, allocations: 247.1 kB / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.179, allocations: 294.8 kB / 0.6766 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.039e-05/0.1791, allocations: 52 kB / 0.6767 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.1792, allocations: 52 kB / 0.6767 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1793, allocations: 123.6 kB / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1796, allocations: 274.6 kB / 0.6771 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.1802, allocations: 0.576 MB / 0.6776 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1802, allocations: 4 kB / 0.6776 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1802, allocations: 0 / 0.6776 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.1802, allocations: 0 / 0.6776 GB, free: 10.76 MB / 0.5137 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.001536/0.1817, allocations: 0.8263 MB / 0.6785 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1818, allocations: 8.031 kB / 0.6785 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1819, allocations: 56.38 kB / 0.6785 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.1824, allocations: 355 kB / 0.6789 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.1824, allocations: 37.38 kB / 0.6789 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.1825, allocations: 40.38 kB / 0.6789 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.1832, allocations: 402.7 kB / 0.6793 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1833, allocations: 0 / 0.6793 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.1833, allocations: 20 kB / 0.6793 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1833, allocations: 19.98 kB / 0.6794 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.184, allocations: 327.8 kB / 0.6797 GB, free: 8.605 MB / 0.5137 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.002329/0.1864, allocations: 1.481 MB / 0.6811 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.1871, allocations: 399 kB / 0.6815 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.1875, allocations: 236.8 kB / 0.6817 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.1876, allocations: 11.98 kB / 0.6817 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1876, allocations: 34.56 kB / 0.6818 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.004e-06/0.1876, allocations: 0 / 0.6818 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41): time 0.007911/0.1955, allocations: 1.82 MB / 0.6835 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1956, allocations: 59.34 kB / 0.6836 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.196, allocations: 357.7 kB / 0.6839 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.1961, allocations: 29.7 kB / 0.684 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1962, allocations: 224.6 kB / 0.6842 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1963, allocations: 137.9 kB / 0.6843 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.1965, allocations: 61.7 kB / 0.6844 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1966, allocations: 350.8 kB / 0.6847 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.1969, allocations: 140.8 kB / 0.6848 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1973, allocations: 213.9 kB / 0.685 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.1979, allocations: 329.2 kB / 0.6854 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1979, allocations: 0 / 0.6854 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002099/0.2, allocations: 0.747 MB / 0.6861 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2001, allocations: 7.938 kB / 0.6861 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2001, allocations: 3.984 kB / 0.6861 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.2019, allocations: 444.4 kB / 0.6865 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2021, allocations: 31.86 kB / 0.6866 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007072/0.2092, allocations: 4.113 MB / 0.6906 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.2098, allocations: 51.62 kB / 0.6906 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2098, allocations: 12 kB / 0.6906 GB, free: 13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000469/0.2103, allocations: 248.1 kB / 0.6909 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003313/0.2106, allocations: 209.9 kB / 0.6911 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000576/0.2112, allocations: 321.4 kB / 0.6914 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.003e-06/0.2112, allocations: 4 kB / 0.6914 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.00198/0.2132, allocations: 0.7274 MB / 0.6921 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2132, allocations: 8 kB / 0.6921 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2132, allocations: 0 / 0.6921 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.2148, allocations: 417.2 kB / 0.6925 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2149, allocations: 27.97 kB / 0.6925 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.2209, allocations: 3.979 MB / 0.6964 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/0.2216, allocations: 39.88 kB / 0.6964 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.2216, allocations: 12.31 kB / 0.6965 GB, free: 6.844 MB / 0.5294 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.0002341/0.2219, allocations: 200.1 kB / 0.6966 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/0.222, allocations: 43.44 kB / 0.6967 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.2221, allocations: 56.48 kB / 0.6967 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2221, allocations: 8 kB / 0.6967 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2221, allocations: 7.984 kB / 0.6968 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2221, allocations: 0 / 0.6968 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.2228, allocations: 0.498 MB / 0.6972 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2228, allocations: 0 / 0.6972 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.2229, allocations: 19.98 kB / 0.6973 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.2244, allocations: 400.7 kB / 0.6976 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2244, allocations: 12 kB / 0.6977 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005833/0.2303, allocations: 4.007 MB / 0.7016 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2303, allocations: 0 / 0.7016 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.2322, allocations: 0.8124 MB / 0.7024 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.2324, allocations: 148.5 kB / 0.7025 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.2325, allocations: 8 kB / 0.7025 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.2328, allocations: 15.98 kB / 0.7025 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2329, allocations: 35.94 kB / 0.7026 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2329, allocations: 12 kB / 0.7026 GB, free: 344 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000279/0.2332, allocations: 251.2 kB / 0.7028 GB, free: 100 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2332, allocations: 3.938 kB / 0.7028 GB, free: 96 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00118/0.2344, allocations: 339.5 kB / 0.7031 GB, free: 15.76 MB / 0.545 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.0001857/0.2346, allocations: 103.2 kB / 0.7032 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.2373, allocations: 1.159 MB / 0.7044 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2373, allocations: 0 / 0.7044 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.2383, allocations: 0.509 MB / 0.7049 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.239, allocations: 113.3 kB / 0.705 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2406, allocations: 0.8169 MB / 0.7058 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.241, allocations: 0.844 MB / 0.7066 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.2412, allocations: 35.27 kB / 0.7066 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.2412, allocations: 23.44 kB / 0.7067 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.2412, allocations: 0 / 0.7067 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Templates: time 0.0242/0.2654, allocations: 13.58 MB / 0.7199 GB, free: 14.61 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)