Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [/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.1886/0.1907, allocations: 80.83 MB / 0.5897 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003055/0.1938, allocations: 1.49 MB / 0.5911 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.1946, allocations: 436.6 kB / 0.5916 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.1947, allocations: 0 / 0.5916 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.1947, allocations: 4 kB / 0.5916 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.1948, allocations: 7.922 kB / 0.5916 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.195, allocations: 11.98 kB / 0.5916 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.195, allocations: 15.94 kB / 0.5916 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1951, allocations: 8 kB / 0.5916 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.1952, allocations: 11.92 kB / 0.5916 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.1953, allocations: 15.92 kB / 0.5916 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1953, allocations: 0 / 0.5916 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.1953, allocations: 4 kB / 0.5916 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.1954, allocations: 11.92 kB / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.1954, allocations: 7.938 kB / 0.5917 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.1955, allocations: 24.19 kB / 0.5917 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1955, allocations: 0 / 0.5917 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1955, allocations: 0 / 0.5917 GB, free: 5.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1955, allocations: 0 / 0.5917 GB, free: 5.023 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003857/0.1959, allocations: 331.5 kB / 0.592 GB, free: 4.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1959, allocations: 8.031 kB / 0.592 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.196, allocations: 8.844 kB / 0.592 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.1961, allocations: 172.4 kB / 0.5922 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1961, allocations: 384 / 0.5922 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1961, allocations: 4.375 kB / 0.5922 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1963, allocations: 42 kB / 0.5922 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1963, allocations: 7.984 kB / 0.5922 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1963, allocations: 0 / 0.5922 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1963, allocations: 0 / 0.5922 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.1964, allocations: 19.92 kB / 0.5922 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.1967, allocations: 264.8 kB / 0.5925 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.232e-05/0.1968, allocations: 26.58 kB / 0.5925 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.1968, allocations: 16.91 kB / 0.5925 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1968, allocations: 0 / 0.5925 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1969, allocations: 30.56 kB / 0.5926 GB, free: 3.949 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1969, allocations: 4 kB / 0.5926 GB, free: 3.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002116/0.1971, allocations: 69.52 kB / 0.5926 GB, free: 3.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1971, allocations: 55.41 kB / 0.5927 GB, free: 3.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.1972, allocations: 101.8 kB / 0.5928 GB, free: 3.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1972, allocations: 29.7 kB / 0.5928 GB, free: 3.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.1973, allocations: 84.14 kB / 0.5929 GB, free: 3.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.1973, allocations: 3.906 kB / 0.5929 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.1974, allocations: 17.84 kB / 0.5929 GB, free: 3.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1975, allocations: 314.8 kB / 0.5932 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.1976, allocations: 7.984 kB / 0.5932 GB, free: 3.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.1976, allocations: 8 kB / 0.5932 GB, free: 3.215 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.133e-05/0.1977, allocations: 32.72 kB / 0.5933 GB, free: 3.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1977, allocations: 0 / 0.5933 GB, free: 3.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001636/0.1979, allocations: 61.73 kB / 0.5933 GB, free: 3.113 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1979, allocations: 7.938 kB / 0.5933 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1979, allocations: 0 / 0.5933 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1979, allocations: 0 / 0.5933 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.198, allocations: 4 kB / 0.5933 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.198, allocations: 0 / 0.5933 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.1981, allocations: 8.234 kB / 0.5933 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.1981, allocations: 0 / 0.5933 GB, free: 3.094 MB / 446.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/0.1981, allocations: 110.7 kB / 0.5935 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1982, allocations: 12.03 kB / 0.5935 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.1982, allocations: 7.531 kB / 0.5935 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1982, allocations: 0 / 0.5935 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1982, allocations: 0 / 0.5935 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1982, allocations: 0 / 0.5935 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1984, allocations: 169.6 kB / 0.5936 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1984, allocations: 0 / 0.5936 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.1984, allocations: 7.938 kB / 0.5936 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1984, allocations: 0 / 0.5936 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1985, allocations: 0 / 0.5936 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1985, allocations: 4 kB / 0.5936 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1985, allocations: 0 / 0.5936 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.1986, allocations: 151.4 kB / 0.5938 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.1987, allocations: 81.11 kB / 0.5939 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1987, allocations: 4 kB / 0.5939 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.1988, allocations: 3.938 kB / 0.5939 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1988, allocations: 7.984 kB / 0.5939 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1988, allocations: 4.031 kB / 0.5939 GB, free: 2.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.911e-05/0.1988, allocations: 79.28 kB / 0.594 GB, free: 2.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1988, allocations: 0 / 0.594 GB, free: 2.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1991, allocations: 8 kB / 0.594 GB, free: 2.367 MB / 446.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.842e-05/0.1992, allocations: 99.19 kB / 0.5941 GB, free: 2.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1993, allocations: 19.98 kB / 0.5941 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1993, allocations: 4.062 kB / 0.5941 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.1993, allocations: 11.98 kB / 0.5941 GB, free: 2.227 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.1996, allocations: 7.938 kB / 0.5941 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.1999, allocations: 128.3 kB / 0.5942 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2001, allocations: 0.6809 MB / 0.5949 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.2002, allocations: 11.91 kB / 0.5949 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.2002, allocations: 7.438 kB / 0.5949 GB, free: 1.344 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2002, allocations: 0 / 0.5949 GB, free: 1.344 MB / 446.1 MB Notification: Performance of Templates: time 0.001931/0.2021, allocations: 285.3 kB / 0.5952 GB, free: 1.098 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)