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.1744/0.1764, allocations: 80.84 MB / 0.6706 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003281/0.1798, allocations: 1.412 MB / 0.672 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008545/0.1806, allocations: 439.9 kB / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.1807, allocations: 0 / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.1808, allocations: 7.938 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.1809, allocations: 7.844 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.181, allocations: 11.98 kB / 0.6725 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.1811, allocations: 19.92 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1813, allocations: 8 kB / 0.6725 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1814, allocations: 11.98 kB / 0.6725 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.1814, allocations: 11.94 kB / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1815, allocations: 4 kB / 0.6725 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.1815, allocations: 0 / 0.6725 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.1815, allocations: 15.91 kB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.1815, allocations: 11.94 kB / 0.6725 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1817, allocations: 19.91 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1817, allocations: 11.88 kB / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1817, allocations: 0 / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1817, allocations: 0 / 0.6726 GB, free: 15.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004872/0.1822, allocations: 327.5 kB / 0.6729 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1822, allocations: 12.03 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1823, allocations: 0.9375 kB / 0.6729 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.1824, allocations: 180.2 kB / 0.6731 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1825, allocations: 4.359 kB / 0.6731 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.1825, allocations: 4.375 kB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1827, allocations: 42 kB / 0.6731 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1827, allocations: 3.938 kB / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1827, allocations: 0 / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1827, allocations: 0 / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.1828, allocations: 19.98 kB / 0.6731 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1832, allocations: 256.9 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.1833, allocations: 30.56 kB / 0.6734 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.1834, allocations: 20.91 kB / 0.6734 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1834, allocations: 0 / 0.6734 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1835, allocations: 30.56 kB / 0.6735 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.1835, allocations: 4 kB / 0.6735 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002753/0.1838, allocations: 61.62 kB / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1838, allocations: 51.41 kB / 0.6736 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.1839, allocations: 109.8 kB / 0.6737 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1839, allocations: 25.7 kB / 0.6737 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.184, allocations: 84.14 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.184, allocations: 15.88 kB / 0.6738 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1841, allocations: 13.84 kB / 0.6738 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1842, allocations: 314.8 kB / 0.6741 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.1842, allocations: 11.98 kB / 0.6741 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.1843, allocations: 4 kB / 0.6741 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.333e-05/0.1844, allocations: 28.78 kB / 0.6741 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1844, allocations: 0 / 0.6741 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001208/0.1845, allocations: 61.59 kB / 0.6742 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1845, allocations: 10.97 kB / 0.6742 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1845, allocations: 0 / 0.6742 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1846, allocations: 3.984 kB / 0.6742 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.1846, allocations: 7.938 kB / 0.6742 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1847, allocations: 0 / 0.6742 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.1847, allocations: 0 / 0.6742 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.1847, allocations: 4 kB / 0.6742 GB, free: 13.93 MB / 0.5137 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 (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 8.032e-05/0.1848, allocations: 117.8 kB / 0.6743 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.1848, allocations: 8.016 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.1849, allocations: 7.531 kB / 0.6744 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1849, allocations: 0 / 0.6744 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1849, allocations: 0 / 0.6744 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1849, allocations: 0 / 0.6744 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1851, allocations: 161.6 kB / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1851, allocations: 0 / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.1851, allocations: 7.984 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1851, allocations: 4 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.1852, allocations: 0 / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1852, allocations: 7.938 kB / 0.6745 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1852, allocations: 3.938 kB / 0.6745 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1854, allocations: 147.5 kB / 0.6747 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1855, allocations: 81.02 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1855, allocations: 4 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.1856, allocations: 0 / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1856, allocations: 4.281 kB / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1856, allocations: 4 kB / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.1857, allocations: 91.27 kB / 0.6749 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1857, allocations: 0 / 0.6749 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002266/0.1859, allocations: 4 kB / 0.6749 GB, free: 13.18 MB / 0.5137 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 (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 0.0001058/0.186, allocations: 95.25 kB / 0.6749 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.1862, allocations: 23.92 kB / 0.675 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1862, allocations: 4.062 kB / 0.675 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/0.1863, allocations: 15.98 kB / 0.675 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1865, allocations: 6.75 kB / 0.675 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.1868, allocations: 114.5 kB / 0.6751 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1872, allocations: 0.6807 MB / 0.6758 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.1872, allocations: 3.984 kB / 0.6758 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.1872, allocations: 7.438 kB / 0.6758 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of SimCode: time 6.041e-06/0.1873, allocations: 4.062 kB / 0.6758 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.002447/0.1897, allocations: 324.4 kB / 0.6761 GB, free: 11.86 MB / 0.5137 GB 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)