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.1678/0.1691, allocations: 82.23 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001571/0.1708, allocations: 1.125 MB / 0.5945 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006166/0.1714, allocations: 421.1 kB / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.1714, allocations: 0 / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1715, allocations: 0 / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.1715, allocations: 0 / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.1716, allocations: 11.98 kB / 0.5949 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.1717, allocations: 15.92 kB / 0.5949 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.1718, allocations: 7.984 kB / 0.5949 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/0.1719, allocations: 11.98 kB / 0.5949 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.1719, allocations: 11.94 kB / 0.5949 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.172, allocations: 0 / 0.5949 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.172, allocations: 0 / 0.5949 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.172, allocations: 4 kB / 0.5949 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.172, allocations: 25.7 kB / 0.595 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.953e-05/0.1721, allocations: 24.19 kB / 0.595 GB, free: 4.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1721, allocations: 0 / 0.595 GB, free: 4.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1721, allocations: 0 / 0.595 GB, free: 4.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1721, allocations: 3.938 kB / 0.595 GB, free: 4.309 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.0004044/0.1725, allocations: 335.3 kB / 0.5953 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1725, allocations: 8.031 kB / 0.5953 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.1726, allocations: 7.984 kB / 0.5953 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1727, allocations: 171 kB / 0.5955 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1727, allocations: 0 / 0.5955 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1728, allocations: 7.953 kB / 0.5955 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1729, allocations: 41.69 kB / 0.5955 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1729, allocations: 4 kB / 0.5955 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1729, allocations: 0 / 0.5955 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1729, allocations: 3.938 kB / 0.5955 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.173, allocations: 19.98 kB / 0.5956 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.1733, allocations: 260.8 kB / 0.5958 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.1734, allocations: 30.58 kB / 0.5958 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1735, allocations: 4 kB / 0.5958 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1735, allocations: 30.56 kB / 0.5959 GB, free: 3.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1735, allocations: 0 / 0.5959 GB, free: 3.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002215/0.1737, allocations: 73.77 kB / 0.5959 GB, free: 3.164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1738, allocations: 51.41 kB / 0.596 GB, free: 3.102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.1738, allocations: 105.8 kB / 0.5961 GB, free: 2.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1739, allocations: 25.7 kB / 0.5961 GB, free: 2.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1739, allocations: 84.14 kB / 0.5962 GB, free: 2.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.1739, allocations: 3.906 kB / 0.5962 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1739, allocations: 4 kB / 0.5962 GB, free: 2.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.174, allocations: 318.8 kB / 0.5965 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.1741, allocations: 12.03 kB / 0.5965 GB, free: 2.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.1741, allocations: 7.984 kB / 0.5965 GB, free: 2.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.1742, allocations: 12 kB / 0.5965 GB, free: 2.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1742, allocations: 3.953 kB / 0.5965 GB, free: 2.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.1743, allocations: 57.62 kB / 0.5966 GB, free: 2.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1743, allocations: 8.094 kB / 0.5966 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1743, allocations: 7.984 kB / 0.5966 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1744, allocations: 0 / 0.5966 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.1744, allocations: 4 kB / 0.5966 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1744, allocations: 0 / 0.5966 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.1745, allocations: 7.906 kB / 0.5966 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.1745, allocations: 0 / 0.5966 GB, free: 2.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/0.1746, allocations: 113.8 kB / 0.5967 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1746, allocations: 15.95 kB / 0.5968 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.1746, allocations: 7.469 kB / 0.5968 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1746, allocations: 3.984 kB / 0.5968 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1747, allocations: 256 / 0.5968 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1747, allocations: 0 / 0.5968 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1748, allocations: 161.7 kB / 0.5969 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1748, allocations: 0 / 0.5969 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.1749, allocations: 11.94 kB / 0.5969 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1749, allocations: 3.938 kB / 0.5969 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1749, allocations: 0 / 0.5969 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1749, allocations: 4 kB / 0.5969 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1749, allocations: 4 kB / 0.5969 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1751, allocations: 155.5 kB / 0.5971 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.1751, allocations: 81.02 kB / 0.5972 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1751, allocations: 3.953 kB / 0.5972 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.1752, allocations: 8.031 kB / 0.5972 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1752, allocations: 0 / 0.5972 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-06/0.1753, allocations: 0 / 0.5972 GB, free: 1.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.056e-05/0.1753, allocations: 87.27 kB / 0.5973 GB, free: 1.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1753, allocations: 0 / 0.5973 GB, free: 1.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.1755, allocations: 4 kB / 0.5973 GB, free: 1.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.857e-05/0.1756, allocations: 95.25 kB / 0.5974 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1757, allocations: 27.98 kB / 0.5974 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1757, allocations: 4 kB / 0.5974 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.1758, allocations: 15.92 kB / 0.5974 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1759, allocations: 4 kB / 0.5974 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.1762, allocations: 128.8 kB / 0.5975 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1764, allocations: 0.677 MB / 0.5982 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.305e-05/0.1765, allocations: 4 kB / 0.5982 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.1765, allocations: 11.42 kB / 0.5982 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.1765, allocations: 0 / 0.5982 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of Templates: time 0.001953/0.1784, allocations: 270.8 kB / 0.5985 GB, free: 432 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: