Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.339/5.339, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002593/0.002592, allocations: 360.6 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.376/4.376, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001907/0.001906, allocations: 183.9 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007853/0.0007857, allocations: 12 kB / 1.349 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8336, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/1.074, allocations: 141 MB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.075, allocations: 103.9 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02001/1.095, allocations: 5.297 MB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.234e-06/1.095, allocations: 0 / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.05e-05/1.095, allocations: 12.16 kB / 1.604 GB, free: 137.9 MB / 0.8542 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.0008994/1.096, allocations: 0.5803 MB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.096, allocations: 11.62 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/1.096, allocations: 33.41 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/1.097, allocations: 425.2 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.097, allocations: 8 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/1.097, allocations: 4 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/1.097, allocations: 82.2 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.097, allocations: 1 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.097, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.097, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/1.097, allocations: 49.75 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/1.098, allocations: 0.5018 MB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/1.098, allocations: 52.25 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/1.098, allocations: 24.31 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/1.099, allocations: 0 / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.099, allocations: 38.52 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.582e-06/1.099, allocations: 0 / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004069/1.099, allocations: 98.3 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/1.099, allocations: 61.81 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/1.1, allocations: 0.5482 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/1.1, allocations: 25.7 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.1, allocations: 176 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/1.1, allocations: 7.844 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.1, allocations: 0.9062 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/1.1, allocations: 342.8 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/1.1, allocations: 16.89 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/1.1, allocations: 20.86 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/1.101, allocations: 12.84 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.101, allocations: 0.9062 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000262/1.101, allocations: 93.95 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.101, allocations: 4 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.101, allocations: 5.203 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.101, allocations: 0 / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/1.101, allocations: 12.48 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.101, allocations: 3.938 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/1.101, allocations: 5.25 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/1.101, allocations: 3.141 kB / 1.607 GB, free: 134.5 MB / 0.8542 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 (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.0002079/1.101, allocations: 192.1 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/1.101, allocations: 27.62 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/1.102, allocations: 100.2 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.102, allocations: 3.953 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.102, allocations: 1.156 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.102, allocations: 4 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/1.102, allocations: 309.5 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.102, allocations: 3.266 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/1.102, allocations: 11.92 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.102, allocations: 0 / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.102, allocations: 4 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.102, allocations: 3.938 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/1.102, allocations: 3.953 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/1.103, allocations: 190.9 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.103, allocations: 128.7 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/1.103, allocations: 11.98 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/1.103, allocations: 0 / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/1.103, allocations: 7.953 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.103, allocations: 0 / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00065/1.104, allocations: 412.3 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.104, allocations: 0 / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003671/1.104, allocations: 43.83 kB / 1.609 GB, free: 133 MB / 0.8542 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.000997/1.105, allocations: 350.8 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000221/1.105, allocations: 39.91 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.105, allocations: 0.9688 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/1.106, allocations: 19.98 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/1.106, allocations: 39.44 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.107, allocations: 0.5745 MB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/1.108, allocations: 0.7933 MB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000204/1.108, allocations: 47.98 kB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.108, allocations: 35.36 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of SimCode: time 9.81e-07/1.108, allocations: 0 / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.008613/1.117, allocations: 2.544 MB / 1.613 GB, free: 128.9 MB / 0.8542 GB