Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006435/0.00644, allocations: 234.6 kB / 15.8 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001782/0.001782, allocations: 179.2 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.048/4.048, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.534/4.534, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.000489, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1719, allocations: 98.71 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002131/0.1741, allocations: 1.406 MB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1757, allocations: 0.8049 MB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1759, allocations: 2.969 kB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.1765, allocations: 156.7 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1769, allocations: 117.3 kB / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1771, allocations: 71.25 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1774, allocations: 187.5 kB / 1.107 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1776, allocations: 44 kB / 1.107 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1777, allocations: 75.67 kB / 1.107 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.178, allocations: 127.6 kB / 1.108 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.178, allocations: 4.875 kB / 1.108 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1782, allocations: 39.92 kB / 1.108 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.1783, allocations: 74.27 kB / 1.108 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.1784, allocations: 65.52 kB / 1.108 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1787, allocations: 279.6 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1787, allocations: 0 / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1788, allocations: 0 / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.1788, allocations: 0 / 1.108 GB, free: 38.7 MB / 0.6042 GB 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.0008848/0.1797, allocations: 0.5962 MB / 1.109 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1797, allocations: 12.56 kB / 1.109 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.1798, allocations: 27.62 kB / 1.109 GB, free: 38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.1805, allocations: 385.9 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1805, allocations: 8 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1806, allocations: 4 kB / 1.109 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1808, allocations: 77.66 kB / 1.109 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1808, allocations: 0 / 1.109 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1808, allocations: 7.953 kB / 1.109 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1808, allocations: 0 / 1.109 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1811, allocations: 63.28 kB / 1.109 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.1818, allocations: 485.4 kB / 1.11 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.182, allocations: 47.81 kB / 1.11 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.1821, allocations: 29.16 kB / 1.11 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1822, allocations: 0 / 1.11 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.1822, allocations: 38.5 kB / 1.11 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.1822, allocations: 0 / 1.11 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004192/0.1826, allocations: 116.6 kB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.1827, allocations: 51.41 kB / 1.11 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.1835, allocations: 0.5328 MB / 1.11 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1835, allocations: 25.7 kB / 1.11 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.1836, allocations: 164 kB / 1.111 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1837, allocations: 7.906 kB / 1.111 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1837, allocations: 3.469 kB / 1.111 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.1838, allocations: 350.8 kB / 1.111 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1839, allocations: 12 kB / 1.111 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.184, allocations: 23.92 kB / 1.111 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1841, allocations: 75.39 kB / 1.111 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1841, allocations: 1.062 kB / 1.111 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003192/0.1845, allocations: 160 kB / 1.111 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.1845, allocations: 63.16 kB / 1.111 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1845, allocations: 0 / 1.111 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1846, allocations: 1.594 kB / 1.111 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1847, allocations: 15.98 kB / 1.111 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1847, allocations: 0 / 1.111 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1848, allocations: 4 kB / 1.111 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1849, allocations: 192 / 1.111 GB, free: 35.13 MB / 0.6042 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0002174/0.1851, allocations: 184.6 kB / 1.111 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.1852, allocations: 27.62 kB / 1.111 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.1856, allocations: 114.5 kB / 1.112 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1856, allocations: 3.234 kB / 1.112 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1856, allocations: 3.938 kB / 1.112 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1857, allocations: 120.7 kB / 1.112 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.1858, allocations: 0 / 1.112 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1859, allocations: 4 kB / 1.112 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.186, allocations: 7.938 kB / 1.112 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002645/0.1863, allocations: 156.7 kB / 1.112 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002888/0.1866, allocations: 263.8 kB / 1.112 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.3e-05/0.1867, allocations: 22.67 kB / 1.112 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005887/0.1873, allocations: 399.1 kB / 1.112 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of Backend: time 1.112e-06/0.1873, allocations: 0 / 1.112 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.189, allocations: 0.5429 MB / 1.113 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001186/0.1902, allocations: 0.9877 MB / 1.114 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.008773/0.199, allocations: 2.478 MB / 1.116 GB, free: 30.09 MB / 0.6042 GB