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.1476/0.1484, allocations: 82.22 MB / 0.5941 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002267/0.1507, allocations: 1.478 MB / 0.5956 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1522, allocations: 0.8396 MB / 0.5964 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1523, allocations: 7.938 kB / 0.5964 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.1529, allocations: 171 kB / 0.5966 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.1534, allocations: 155.5 kB / 0.5967 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1538, allocations: 167.1 kB / 0.5969 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.1542, allocations: 215.5 kB / 0.5971 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1544, allocations: 57.55 kB / 0.5971 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1546, allocations: 75.67 kB / 0.5972 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1548, allocations: 131.6 kB / 0.5973 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1549, allocations: 4 kB / 0.5973 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.155, allocations: 39.92 kB / 0.5974 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1551, allocations: 67.75 kB / 0.5974 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1553, allocations: 124.9 kB / 0.5976 GB, free: 2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.1557, allocations: 330.8 kB / 0.5979 GB, free: 1.676 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1557, allocations: 0 / 0.5979 GB, free: 1.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1557, allocations: 4 kB / 0.5979 GB, free: 1.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1557, allocations: 0 / 0.5979 GB, free: 1.672 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.0009557/0.1567, allocations: 0.5642 MB / 0.5984 GB, free: 1.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1568, allocations: 12.03 kB / 0.5984 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.1569, allocations: 28.56 kB / 0.5985 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.1575, allocations: 410.3 kB / 0.5989 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1575, allocations: 8.359 kB / 0.5989 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1575, allocations: 12.12 kB / 0.5989 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1577, allocations: 77.66 kB / 0.5989 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1577, allocations: 0 / 0.5989 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1577, allocations: 4 kB / 0.5989 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1578, allocations: 3.938 kB / 0.599 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1579, allocations: 47.97 kB / 0.599 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.1586, allocations: 496.3 kB / 0.5995 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1587, allocations: 46.56 kB / 0.5995 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.1588, allocations: 20.91 kB / 0.5995 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1588, allocations: 4 kB / 0.5995 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1589, allocations: 34.56 kB / 0.5996 GB, free: 15.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.1589, allocations: 0 / 0.5996 GB, free: 15.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003346/0.1592, allocations: 117.1 kB / 0.5997 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1593, allocations: 51.41 kB / 0.5997 GB, free: 15.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/0.16, allocations: 0.5484 MB / 0.6003 GB, free: 15.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.16, allocations: 33.7 kB / 0.6003 GB, free: 14.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1602, allocations: 172 kB / 0.6005 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1602, allocations: 15.75 kB / 0.6005 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.1602, allocations: 9.719 kB / 0.6005 GB, free: 14.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1604, allocations: 338.8 kB / 0.6008 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.1605, allocations: 19.98 kB / 0.6008 GB, free: 14.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.476e-05/0.1605, allocations: 15.98 kB / 0.6008 GB, free: 14.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.1606, allocations: 40.84 kB / 0.6009 GB, free: 14.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1606, allocations: 0 / 0.6009 GB, free: 14.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001909/0.1608, allocations: 93.33 kB / 0.601 GB, free: 14.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1608, allocations: 4 kB / 0.601 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1609, allocations: 336 / 0.601 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1609, allocations: 3.938 kB / 0.601 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.161, allocations: 19.98 kB / 0.601 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.161, allocations: 0 / 0.601 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.1611, allocations: 7.906 kB / 0.601 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1611, allocations: 0 / 0.601 GB, free: 14.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.1613, allocations: 178.7 kB / 0.6012 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.1614, allocations: 31.61 kB / 0.6012 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1616, allocations: 112.1 kB / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1616, allocations: 3.938 kB / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1616, allocations: 0 / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1616, allocations: 0 / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1619, allocations: 285.5 kB / 0.6016 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1619, allocations: 112 / 0.6016 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.162, allocations: 11.92 kB / 0.6016 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.162, allocations: 4 kB / 0.6016 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.162, allocations: 0 / 0.6016 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.162, allocations: 3.938 kB / 0.6016 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.162, allocations: 0 / 0.6016 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1623, allocations: 187.2 kB / 0.6018 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1624, allocations: 128.7 kB / 0.6019 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1624, allocations: 0 / 0.6019 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.1625, allocations: 11.88 kB / 0.6019 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.1626, allocations: 0 / 0.6019 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1626, allocations: 4 kB / 0.6019 GB, free: 13.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004431/0.163, allocations: 423.1 kB / 0.6023 GB, free: 12.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.163, allocations: 0 / 0.6023 GB, free: 12.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1633, allocations: 27.94 kB / 0.6024 GB, free: 12.74 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 (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.0007494/0.1641, allocations: 365.9 kB / 0.6027 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1642, allocations: 31.98 kB / 0.6027 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1642, allocations: 0 / 0.6027 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/0.1643, allocations: 19.98 kB / 0.6028 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1647, allocations: 38.77 kB / 0.6028 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.1655, allocations: 0.5899 MB / 0.6034 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1659, allocations: 0.7872 MB / 0.6041 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.166, allocations: 42.92 kB / 0.6042 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.1661, allocations: 23.44 kB / 0.6042 GB, free: 10.96 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1661, allocations: 4 kB / 0.6042 GB, free: 10.95 MB / 462.1 MB Notification: Performance of Templates: time 0.00542/0.1715, allocations: 2.329 MB / 0.6065 GB, free: 8.672 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: