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.004282/0.004287, allocations: 230.7 kB / 15.82 MB, free: 6.293 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.001164/0.001164, allocations: 171.6 kB / 16.7 MB, free: 5.453 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 3.866/3.866, allocations: 389 MB / 406.5 MB, free: 11.84 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.04/4.04, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1886, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7876/0.9763, allocations: 127 MB / 1.229 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.9766, allocations: 102.5 kB / 1.229 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.9947, allocations: 4.552 MB / 1.233 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9947, allocations: 0 / 1.233 GB, free: 24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.749e-05/0.9947, allocations: 10.59 kB / 1.233 GB, free: 23.99 MB / 0.6198 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.0009509/0.9957, allocations: 0.6262 MB / 1.234 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.9958, allocations: 8.031 kB / 1.234 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.9959, allocations: 31.62 kB / 1.234 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.9967, allocations: 411.9 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.9967, allocations: 7.906 kB / 1.234 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.9968, allocations: 4.688 kB / 1.234 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.997, allocations: 81.14 kB / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.997, allocations: 0 / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.9971, allocations: 4 kB / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9971, allocations: 2.062 kB / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.9973, allocations: 52.09 kB / 1.234 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.9982, allocations: 496.8 kB / 1.235 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.9984, allocations: 56.61 kB / 1.235 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.9985, allocations: 25.44 kB / 1.235 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.9985, allocations: 10.98 kB / 1.235 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.9986, allocations: 35.97 kB / 1.235 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.9986, allocations: 0 / 1.235 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000419/0.999, allocations: 106.8 kB / 1.235 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.999, allocations: 53.25 kB / 1.235 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/1, allocations: 0.5197 MB / 1.236 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/1, allocations: 25.81 kB / 1.236 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1, allocations: 173.3 kB / 1.236 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/1, allocations: 8.641 kB / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/1, allocations: 0 / 1.236 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1, allocations: 344.3 kB / 1.236 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/1, allocations: 18.66 kB / 1.236 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/1.001, allocations: 21.09 kB / 1.236 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/1.001, allocations: 78.88 kB / 1.236 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.001, allocations: 0 / 1.236 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000336/1.001, allocations: 162.2 kB / 1.236 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.001, allocations: 59.41 kB / 1.236 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.001, allocations: 0 / 1.236 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.001, allocations: 0 / 1.236 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/1.001, allocations: 13.25 kB / 1.236 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/1.001, allocations: 0.9375 kB / 1.236 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/1.001, allocations: 17 kB / 1.237 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/1.001, allocations: 4 kB / 1.237 GB, free: 21.11 MB / 0.6198 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.000246/1.002, allocations: 177.2 kB / 1.237 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/1.002, allocations: 31.58 kB / 1.237 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/1.002, allocations: 109.3 kB / 1.237 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.002, allocations: 5.188 kB / 1.237 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.002, allocations: 0 / 1.237 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.002, allocations: 0 / 1.237 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/1.003, allocations: 291.7 kB / 1.237 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.003, allocations: 0 / 1.237 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/1.003, allocations: 11.38 kB / 1.237 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.003, allocations: 0 / 1.237 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.003, allocations: 7.953 kB / 1.237 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.003, allocations: 4 kB / 1.237 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.003, allocations: 0.75 kB / 1.237 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/1.003, allocations: 195.9 kB / 1.237 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/1.003, allocations: 126.9 kB / 1.237 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/1.003, allocations: 1.281 kB / 1.237 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.003, allocations: 11.42 kB / 1.237 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.003, allocations: 7.703 kB / 1.237 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/1.003, allocations: 0 / 1.237 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001019/1.004, allocations: 391.1 kB / 1.238 GB, free: 36.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.004, allocations: 3.938 kB / 1.238 GB, free: 36.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004445/1.005, allocations: 42.45 kB / 1.238 GB, free: 35.98 MB / 0.6355 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 (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.0008082/1.006, allocations: 303.4 kB / 1.238 GB, free: 35.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002888/1.006, allocations: 154.2 kB / 1.238 GB, free: 35.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.006, allocations: 0 / 1.238 GB, free: 35.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/1.006, allocations: 21.09 kB / 1.238 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/1.007, allocations: 29.58 kB / 1.238 GB, free: 35.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.008, allocations: 0.5604 MB / 1.239 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/1.008, allocations: 0.7866 MB / 1.24 GB, free: 34.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002004/1.008, allocations: 60.48 kB / 1.24 GB, free: 34.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/1.009, allocations: 26.25 kB / 1.24 GB, free: 34.37 MB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/1.009, allocations: 0 / 1.24 GB, free: 34.37 MB / 0.6355 GB Notification: Performance of Templates: time 0.008314/1.017, allocations: 2.286 MB / 1.242 GB, free: 32.82 MB / 0.6355 GB