Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 179.7 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.511/2.511, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 84.67 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007191/0.0007192, allocations: 16.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2855, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.5367, allocations: 138.3 MB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.537, allocations: 83.89 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02894/0.566, allocations: 6.968 MB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5661, allocations: 0 / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.497e-05/0.5661, allocations: 12 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00146/0.5676, allocations: 0.6544 MB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5677, allocations: 8.031 kB / 1.041 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.5678, allocations: 51.61 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008385/0.5687, allocations: 379.3 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.5687, allocations: 28.59 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.5688, allocations: 28 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009796/0.5698, allocations: 362.9 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.5699, allocations: 0 / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.5699, allocations: 12 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5699, allocations: 8 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.5708, allocations: 254 kB / 1.043 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.5734, allocations: 1.248 MB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.5751, allocations: 279.3 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.5752, allocations: 192 / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.5753, allocations: 42.75 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.765e-06/0.5753, allocations: 0 / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.00198/0.5773, allocations: 354.2 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.5775, allocations: 162.2 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5785, allocations: 304.9 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.5787, allocations: 29.7 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.5791, allocations: 220.3 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.5792, allocations: 74.84 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.5793, allocations: 4 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.5795, allocations: 350.8 kB / 1.045 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.5802, allocations: 87.97 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008031/0.581, allocations: 163.6 kB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.5817, allocations: 108.6 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.5818, allocations: 4 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001467/0.5832, allocations: 295.3 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.5833, allocations: 9.281 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5833, allocations: 4 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.5834, allocations: 3.953 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007961/0.5842, allocations: 59.91 kB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.5843, allocations: 4 kB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.585, allocations: 43.81 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.5851, allocations: 12 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0004069/0.5855, allocations: 157.8 kB / 1.046 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.5857, allocations: 39.56 kB / 1.046 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.5859, allocations: 35.47 kB / 1.046 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.586, allocations: 0 / 1.046 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.586, allocations: 7.953 kB / 1.046 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.586, allocations: 3.984 kB / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5871, allocations: 417.2 kB / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5871, allocations: 0 / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.5878, allocations: 47.91 kB / 1.047 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.5879, allocations: 4 kB / 1.047 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.5879, allocations: 4 kB / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5879, allocations: 0 / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.588, allocations: 0 / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.59, allocations: 490.8 kB / 1.047 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.5903, allocations: 132.8 kB / 1.048 GB, free: 8.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.5905, allocations: 7.984 kB / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.5911, allocations: 31.89 kB / 1.048 GB, free: 8.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.5913, allocations: 15.97 kB / 1.048 GB, free: 8.562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.5913, allocations: 8 kB / 1.048 GB, free: 8.555 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006355/0.592, allocations: 251.1 kB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.012e-06/0.592, allocations: 4 kB / 1.048 GB, free: 8.312 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008445/0.5929, allocations: 71.78 kB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0002421/0.5931, allocations: 107.2 kB / 1.048 GB, free: 8.125 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.5944, allocations: 232.7 kB / 1.048 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5945, allocations: 0 / 1.048 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.5951, allocations: 123.5 kB / 1.048 GB, free: 7.781 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.5963, allocations: 71 kB / 1.048 GB, free: 7.707 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.5985, allocations: 0.8705 MB / 1.049 GB, free: 6.809 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.5989, allocations: 0.8031 MB / 1.05 GB, free: 5.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003002/0.5992, allocations: 34.97 kB / 1.05 GB, free: 5.945 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.5994, allocations: 27.42 kB / 1.05 GB, free: 5.918 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/0.5994, allocations: 0 / 1.05 GB, free: 5.918 MB / 0.698 GB Notification: Performance of Templates: time 0.01213/0.6115, allocations: 3.326 MB / 1.053 GB, free: 2.625 MB / 0.698 GB