Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 253.1 MB / 260.6 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001477, allocations: 183.4 kB / 319.9 MB, free: 3.066 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.342/2.342, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.005595/0.005594, allocations: 86.69 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.174e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.21, allocations: 139.5 MB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.21, allocations: 75.89 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03099/1.241, allocations: 7.522 MB / 1.032 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.194e-06/1.241, allocations: 0 / 1.032 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.451e-05/1.241, allocations: 16.12 kB / 1.032 GB, free: 7.645 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001377/1.243, allocations: 0.639 MB / 1.033 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.243, allocations: 8.031 kB / 1.033 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/1.243, allocations: 59.3 kB / 1.033 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/1.244, allocations: 396.3 kB / 1.033 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/1.244, allocations: 12 kB / 1.033 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/1.244, allocations: 24 kB / 1.033 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006886/1.245, allocations: 228.1 kB / 1.034 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/1.246, allocations: 340.6 kB / 1.034 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.246, allocations: 0 / 1.034 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/1.246, allocations: 0 / 1.034 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/1.246, allocations: 11.95 kB / 1.034 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/1.249, allocations: 1.303 MB / 1.035 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/1.249, allocations: 288.7 kB / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/1.25, allocations: 119.8 kB / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/1.25, allocations: 0 / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/1.25, allocations: 164.3 kB / 1.036 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/1.25, allocations: 0 / 1.036 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0007835/1.251, allocations: 251.8 kB / 1.036 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.251, allocations: 140.5 kB / 1.036 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/1.252, allocations: 273 kB / 1.036 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/1.252, allocations: 32.77 kB / 1.036 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/1.252, allocations: 229.5 kB / 1.037 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.252, allocations: 101.1 kB / 1.037 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/1.252, allocations: 0 / 1.037 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.252, allocations: 345.9 kB / 1.037 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/1.252, allocations: 83.94 kB / 1.037 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/1.253, allocations: 166.6 kB / 1.037 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/1.253, allocations: 97.25 kB / 1.037 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.253, allocations: 3.938 kB / 1.037 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007366/1.254, allocations: 303.5 kB / 1.038 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.254, allocations: 4 kB / 1.038 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.254, allocations: 4 kB / 1.038 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/1.254, allocations: 0 / 1.038 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/1.255, allocations: 75.78 kB / 1.038 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.255, allocations: 4 kB / 1.038 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/1.255, allocations: 43.88 kB / 1.038 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/1.255, allocations: 8 kB / 1.038 GB, free: 2.781 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001635/1.255, allocations: 124.7 kB / 1.038 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/1.255, allocations: 35.53 kB / 1.038 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/1.255, allocations: 37.94 kB / 1.038 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.255, allocations: 4 kB / 1.038 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.255, allocations: 4 kB / 1.038 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.255, allocations: 3.984 kB / 1.038 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/1.257, allocations: 0.748 MB / 1.039 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.257, allocations: 0 / 1.039 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/1.258, allocations: 51.91 kB / 1.039 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.258, allocations: 4 kB / 1.039 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/1.258, allocations: 7.484 kB / 1.039 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.258, allocations: 4 kB / 1.039 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.258, allocations: 4 kB / 1.039 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.259, allocations: 488.1 kB / 1.039 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/1.259, allocations: 143.8 kB / 1.039 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/1.259, allocations: 0 / 1.039 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/1.259, allocations: 31.97 kB / 1.04 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.26, allocations: 19.97 kB / 1.04 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/1.26, allocations: 15.91 kB / 1.04 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003404/1.26, allocations: 210.7 kB / 1.04 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.51e-07/1.26, allocations: 0 / 1.04 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005448/1.26, allocations: 75.75 kB / 1.04 GB, free: 1.105 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000203/1.261, allocations: 115.1 kB / 1.04 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006391/1.261, allocations: 229.2 kB / 1.04 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.261, allocations: 4 kB / 1.04 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/1.262, allocations: 119.8 kB / 1.04 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/1.262, allocations: 73.19 kB / 1.04 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/1.264, allocations: 0.5644 MB / 1.041 GB, free: 176 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/1.265, allocations: 0.8269 MB / 1.042 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003469/1.265, allocations: 35.28 kB / 1.042 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/1.265, allocations: 31.42 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of SimCode: time 1.332e-06/1.265, allocations: 4 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of Templates: time 0.0125/1.278, allocations: 3.378 MB / 1.045 GB, free: 11.91 MB / 0.6667 GB