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.1486/0.1494, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001778/0.1512, allocations: 1.15 MB / 0.5952 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.1519, allocations: 424.7 kB / 0.5957 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.152, allocations: 4 kB / 0.5957 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.1521, allocations: 0 / 0.5957 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.1521, allocations: 0 / 0.5957 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1523, allocations: 11.92 kB / 0.5957 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.1524, allocations: 27.86 kB / 0.5957 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1525, allocations: 15.98 kB / 0.5957 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.1526, allocations: 4 kB / 0.5957 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.1527, allocations: 11.92 kB / 0.5957 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1527, allocations: 0 / 0.5957 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.1527, allocations: 3.938 kB / 0.5957 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.1527, allocations: 4 kB / 0.5957 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1528, allocations: 33.64 kB / 0.5958 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.1529, allocations: 28.17 kB / 0.5958 GB, free: 3.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1529, allocations: 0 / 0.5958 GB, free: 3.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1529, allocations: 0 / 0.5958 GB, free: 3.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1529, allocations: 0 / 0.5958 GB, free: 3.832 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.0004226/0.1533, allocations: 335.4 kB / 0.5961 GB, free: 3.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1534, allocations: 12.03 kB / 0.5961 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1534, allocations: 0.9375 kB / 0.5961 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1536, allocations: 168.3 kB / 0.5963 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1536, allocations: 4.375 kB / 0.5963 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1536, allocations: 384 / 0.5963 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1538, allocations: 53.88 kB / 0.5963 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1538, allocations: 4 kB / 0.5963 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1538, allocations: 0 / 0.5963 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1538, allocations: 4 kB / 0.5963 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.1539, allocations: 19.98 kB / 0.5964 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1543, allocations: 256.8 kB / 0.5966 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.1544, allocations: 34.52 kB / 0.5966 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.1544, allocations: 24.89 kB / 0.5967 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1544, allocations: 0 / 0.5967 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1545, allocations: 34.56 kB / 0.5967 GB, free: 2.738 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1545, allocations: 0 / 0.5967 GB, free: 2.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002241/0.1547, allocations: 69.67 kB / 0.5968 GB, free: 2.664 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1548, allocations: 51.41 kB / 0.5968 GB, free: 2.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.1548, allocations: 105.8 kB / 0.5969 GB, free: 2.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1549, allocations: 29.64 kB / 0.5969 GB, free: 2.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.1549, allocations: 88.05 kB / 0.597 GB, free: 2.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.1549, allocations: 0 / 0.597 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.155, allocations: 17.84 kB / 0.597 GB, free: 2.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1551, allocations: 310.8 kB / 0.5973 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.1551, allocations: 15.98 kB / 0.5974 GB, free: 2.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.1552, allocations: 8 kB / 0.5974 GB, free: 2.004 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.1553, allocations: 32.84 kB / 0.5974 GB, free: 1.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1553, allocations: 0 / 0.5974 GB, free: 1.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/0.1554, allocations: 61.58 kB / 0.5975 GB, free: 1.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1554, allocations: 8 kB / 0.5975 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1554, allocations: 0 / 0.5975 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1554, allocations: 0 / 0.5975 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.1555, allocations: 7.938 kB / 0.5975 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1555, allocations: 0 / 0.5975 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.1556, allocations: 20.2 kB / 0.5975 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.1556, allocations: 0 / 0.5975 GB, free: 1.867 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.366e-05/0.1557, allocations: 114.7 kB / 0.5976 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1557, allocations: 4 kB / 0.5976 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.1557, allocations: 3.531 kB / 0.5976 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1557, allocations: 0 / 0.5976 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1557, allocations: 0 / 0.5976 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1557, allocations: 7.938 kB / 0.5976 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1559, allocations: 165.6 kB / 0.5978 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1559, allocations: 4 kB / 0.5978 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.1559, allocations: 4 kB / 0.5978 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1559, allocations: 0 / 0.5978 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.156, allocations: 0 / 0.5978 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.156, allocations: 4 kB / 0.5978 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.156, allocations: 0 / 0.5978 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.1561, allocations: 163.3 kB / 0.5979 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.1562, allocations: 77.11 kB / 0.598 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1562, allocations: 0 / 0.598 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.1562, allocations: 4 kB / 0.598 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.1563, allocations: 7.984 kB / 0.598 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1563, allocations: 0 / 0.598 GB, free: 1.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.1563, allocations: 83.28 kB / 0.5981 GB, free: 1.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1563, allocations: 0 / 0.5981 GB, free: 1.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.1565, allocations: 4.031 kB / 0.5981 GB, free: 1.145 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.408e-05/0.1566, allocations: 99.23 kB / 0.5982 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.1567, allocations: 27.98 kB / 0.5982 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1568, allocations: 0 / 0.5982 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.1568, allocations: 19.92 kB / 0.5982 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.157, allocations: 8.062 kB / 0.5983 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.1573, allocations: 128.6 kB / 0.5984 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1575, allocations: 0.677 MB / 0.599 GB, free: 132 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.41e-05/0.1576, allocations: 4 kB / 0.599 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.1576, allocations: 7.438 kB / 0.5991 GB, free: 120 kB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1576, allocations: 3.938 kB / 0.5991 GB, free: 116 kB / 446.1 MB Notification: Performance of Templates: time 0.002166/0.1598, allocations: 279.3 kB / 0.5993 GB, free: 15.87 MB / 462.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: