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.174/0.1775, allocations: 80.84 MB / 0.6707 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.004276/0.1818, allocations: 3.372 MB / 0.6739 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1833, allocations: 0.8889 MB / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1835, allocations: 11.94 kB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.1837, allocations: 71.23 kB / 0.6749 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.1841, allocations: 162.6 kB / 0.6751 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.1845, allocations: 178.2 kB / 0.6752 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.1851, allocations: 0.643 MB / 0.6758 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.1854, allocations: 244.1 kB / 0.6761 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.1857, allocations: 251.1 kB / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.186, allocations: 290.8 kB / 0.6766 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.1861, allocations: 51.94 kB / 0.6766 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.1862, allocations: 56 kB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1863, allocations: 119.6 kB / 0.6768 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.1866, allocations: 282.6 kB / 0.6771 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007055/0.1874, allocations: 0.5682 MB / 0.6776 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1874, allocations: 0 / 0.6776 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1874, allocations: 0 / 0.6776 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.1874, allocations: 0 / 0.6776 GB, free: 10.78 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.001608/0.189, allocations: 0.8263 MB / 0.6784 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1891, allocations: 12.03 kB / 0.6785 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.1892, allocations: 56.38 kB / 0.6785 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.1897, allocations: 351.1 kB / 0.6788 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.1897, allocations: 37.38 kB / 0.6789 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.1898, allocations: 40.38 kB / 0.6789 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.1905, allocations: 402.8 kB / 0.6793 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1905, allocations: 4 kB / 0.6793 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.1906, allocations: 20 kB / 0.6793 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1906, allocations: 11.94 kB / 0.6793 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.1913, allocations: 335.8 kB / 0.6797 GB, free: 8.625 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.00219/0.1935, allocations: 1.481 MB / 0.6811 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.1943, allocations: 399 kB / 0.6815 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.1946, allocations: 236.8 kB / 0.6817 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.1947, allocations: 7.984 kB / 0.6817 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1947, allocations: 38.56 kB / 0.6818 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 1.924e-06/0.1947, allocations: 3.938 kB / 0.6818 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41): time 0.008052/0.2028, allocations: 1.816 MB / 0.6835 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.2029, allocations: 59.34 kB / 0.6836 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.2032, allocations: 357.7 kB / 0.6839 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2033, allocations: 33.7 kB / 0.684 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2034, allocations: 216.6 kB / 0.6842 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2035, allocations: 141.9 kB / 0.6843 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.2036, allocations: 65.64 kB / 0.6844 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2038, allocations: 346.8 kB / 0.6847 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2041, allocations: 144.8 kB / 0.6848 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.2044, allocations: 213.9 kB / 0.685 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.205, allocations: 321.2 kB / 0.6853 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.205, allocations: 0 / 0.6853 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001995/0.207, allocations: 0.7509 MB / 0.6861 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.207, allocations: 11.94 kB / 0.6861 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.207, allocations: 4 kB / 0.6861 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.2088, allocations: 440.4 kB / 0.6865 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.209, allocations: 27.97 kB / 0.6865 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/0.2149, allocations: 4.124 MB / 0.6906 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.2154, allocations: 47.62 kB / 0.6906 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2154, allocations: 12 kB / 0.6906 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003877/0.2158, allocations: 248.1 kB / 0.6909 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003193/0.2161, allocations: 213.8 kB / 0.6911 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005501/0.2167, allocations: 321.4 kB / 0.6914 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.2167, allocations: 0 / 0.6914 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001918/0.2186, allocations: 0.7275 MB / 0.6921 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2187, allocations: 4 kB / 0.6921 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2187, allocations: 0 / 0.6921 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.2202, allocations: 425.2 kB / 0.6925 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2203, allocations: 27.97 kB / 0.6925 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.226, allocations: 3.979 MB / 0.6964 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.2266, allocations: 39.88 kB / 0.6964 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.2266, allocations: 12 kB / 0.6965 GB, free: 6.855 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.0001842/0.2268, allocations: 196.2 kB / 0.6966 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.2269, allocations: 43.44 kB / 0.6967 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.2271, allocations: 56.48 kB / 0.6967 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2271, allocations: 4 kB / 0.6967 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2271, allocations: 4 kB / 0.6967 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.2271, allocations: 7.984 kB / 0.6968 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/0.2277, allocations: 0.4941 MB / 0.6972 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2278, allocations: 192 / 0.6972 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2279, allocations: 27.92 kB / 0.6973 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.2294, allocations: 392.7 kB / 0.6976 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.2294, allocations: 12 kB / 0.6976 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005562/0.235, allocations: 4.015 MB / 0.7016 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.235, allocations: 4 kB / 0.7016 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.2368, allocations: 0.8046 MB / 0.7024 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.237, allocations: 148.5 kB / 0.7025 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.237, allocations: 8 kB / 0.7025 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.2373, allocations: 15.98 kB / 0.7025 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.2375, allocations: 39.88 kB / 0.7026 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.2375, allocations: 12 kB / 0.7026 GB, free: 356 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002447/0.2377, allocations: 255.2 kB / 0.7028 GB, free: 108 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2377, allocations: 0 / 0.7028 GB, free: 108 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009419/0.2387, allocations: 335.5 kB / 0.7031 GB, free: 15.77 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.000138/0.2388, allocations: 103.2 kB / 0.7032 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.2411, allocations: 1.147 MB / 0.7044 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2411, allocations: 0 / 0.7044 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.2421, allocations: 0.5129 MB / 0.7049 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.2427, allocations: 125.3 kB / 0.705 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.2442, allocations: 0.8076 MB / 0.7058 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.2446, allocations: 0.8479 MB / 0.7066 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.2447, allocations: 31.28 kB / 0.7066 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.2447, allocations: 23.44 kB / 0.7066 GB, free: 12.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.2447, allocations: 0 / 0.7066 GB, free: 12.09 MB / 0.545 GB Notification: Performance of Templates: time 0.0222/0.267, allocations: 14.1 MB / 0.7204 GB, free: 14.1 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)