Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [/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.1589/0.1595, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002112/0.1617, allocations: 1.453 MB / 0.5948 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1629, allocations: 0.7776 MB / 0.5956 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.701e-05/0.163, allocations: 0 / 0.5956 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.1634, allocations: 155.8 kB / 0.5957 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.1638, allocations: 147.4 kB / 0.5958 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1641, allocations: 145.4 kB / 0.596 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1643, allocations: 143.7 kB / 0.5961 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1645, allocations: 53.77 kB / 0.5962 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1646, allocations: 75.67 kB / 0.5962 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1648, allocations: 131.6 kB / 0.5964 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1648, allocations: 4 kB / 0.5964 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.1649, allocations: 20 kB / 0.5964 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.165, allocations: 71.73 kB / 0.5965 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.165, allocations: 61.58 kB / 0.5965 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1653, allocations: 287.3 kB / 0.5968 GB, free: 2.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1653, allocations: 8 kB / 0.5968 GB, free: 2.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1653, allocations: 3.938 kB / 0.5968 GB, free: 2.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1653, allocations: 0 / 0.5968 GB, free: 2.465 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007245/0.1661, allocations: 0.5563 MB / 0.5973 GB, free: 1.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1661, allocations: 12.03 kB / 0.5974 GB, free: 1.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.1662, allocations: 27.62 kB / 0.5974 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.1667, allocations: 401.3 kB / 0.5978 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1667, allocations: 7.938 kB / 0.5978 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.1667, allocations: 8 kB / 0.5978 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1669, allocations: 81.59 kB / 0.5979 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1669, allocations: 0 / 0.5979 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1669, allocations: 0 / 0.5979 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1669, allocations: 0 / 0.5979 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1671, allocations: 51.97 kB / 0.5979 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.1677, allocations: 488.4 kB / 0.5984 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1678, allocations: 46.56 kB / 0.5984 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1678, allocations: 0 / 0.5984 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1679, allocations: 38.56 kB / 0.5985 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1679, allocations: 0 / 0.5985 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002838/0.1682, allocations: 113.5 kB / 0.5986 GB, free: 500 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1682, allocations: 51.41 kB / 0.5986 GB, free: 436 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.1688, allocations: 0.5524 MB / 0.5992 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1688, allocations: 25.7 kB / 0.5992 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1689, allocations: 176 kB / 0.5993 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.169, allocations: 15.75 kB / 0.5994 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.169, allocations: 0 / 0.5994 GB, free: 15.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1691, allocations: 342.8 kB / 0.5997 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.1692, allocations: 16.09 kB / 0.5997 GB, free: 15.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.1692, allocations: 19.91 kB / 0.5997 GB, free: 15.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.716e-05/0.1693, allocations: 16 kB / 0.5997 GB, free: 15.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1693, allocations: 4 kB / 0.5997 GB, free: 15.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000158/0.1694, allocations: 93.23 kB / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1695, allocations: 8 kB / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1695, allocations: 0 / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1695, allocations: 0 / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.1696, allocations: 11.98 kB / 0.5999 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1696, allocations: 3.953 kB / 0.5999 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.1697, allocations: 4 kB / 0.5999 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1697, allocations: 4 kB / 0.5999 GB, free: 15.11 MB / 462.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 (3): * Single equations (assignments): 3 * 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 0.0001497/0.1698, allocations: 181.8 kB / 0.6 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.1699, allocations: 31.62 kB / 0.6001 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.1701, allocations: 104.1 kB / 0.6002 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1701, allocations: 4 kB / 0.6002 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1701, allocations: 7.938 kB / 0.6002 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1701, allocations: 3.953 kB / 0.6002 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.1704, allocations: 285.5 kB / 0.6005 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1704, allocations: 0 / 0.6005 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.1705, allocations: 8 kB / 0.6005 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1705, allocations: 0 / 0.6005 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1705, allocations: 4 kB / 0.6005 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1705, allocations: 3.984 kB / 0.6005 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1705, allocations: 4 kB / 0.6005 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1707, allocations: 191.1 kB / 0.6007 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1708, allocations: 116.7 kB / 0.6008 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1708, allocations: 4 kB / 0.6008 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.1709, allocations: 3.938 kB / 0.6008 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.171, allocations: 11.98 kB / 0.6008 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.171, allocations: 0 / 0.6008 GB, free: 14.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004435/0.1714, allocations: 423.1 kB / 0.6012 GB, free: 13.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 0 / 0.6012 GB, free: 13.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1717, allocations: 23.94 kB / 0.6012 GB, free: 13.63 MB / 462.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 (3): * Single equations (assignments): 3 * 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 0.0007244/0.1724, allocations: 359.7 kB / 0.6016 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1726, allocations: 35.98 kB / 0.6016 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1726, allocations: 0 / 0.6016 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.1726, allocations: 15.98 kB / 0.6016 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1729, allocations: 42.36 kB / 0.6016 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.1737, allocations: 0.547 MB / 0.6022 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1741, allocations: 0.8029 MB / 0.603 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1742, allocations: 46.91 kB / 0.603 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.1743, allocations: 19.44 kB / 0.603 GB, free: 11.87 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1743, allocations: 0 / 0.603 GB, free: 11.87 MB / 462.1 MB Notification: Performance of Templates: time 0.005151/0.1794, allocations: 2.287 MB / 0.6053 GB, free: 9.629 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) Environment - environmentSimulation: