Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 285.4 MB / 298 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 176.8 kB / 366.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 0.6248 GB, free: 7.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008055/0.0008055, allocations: 94.38 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.5e-05, allocations: 4 kB / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7672, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.9715, allocations: 144.7 MB / 1.112 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.9718, allocations: 83.95 kB / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.99, allocations: 6.903 MB / 1.119 GB, free: 204 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/0.99, allocations: 0 / 1.119 GB, free: 204 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.99, allocations: 12 kB / 1.119 GB, free: 192 kB / 0.7136 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.0008766/0.9909, allocations: 0.5959 MB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.991, allocations: 8.031 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.9911, allocations: 47.44 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.9916, allocations: 384.2 kB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.9917, allocations: 24.78 kB / 1.12 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.9917, allocations: 28 kB / 1.12 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.9923, allocations: 343.7 kB / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.9923, allocations: 0 / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.9924, allocations: 16 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.9924, allocations: 8 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.9928, allocations: 202.2 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.9945, allocations: 1.248 MB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.995, allocations: 234.7 kB / 1.122 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.9952, allocations: 97.23 kB / 1.122 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.9953, allocations: 6.594 kB / 1.122 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.9953, allocations: 46.67 kB / 1.122 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.9953, allocations: 1.219 kB / 1.122 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0004163/0.9957, allocations: 217.8 kB / 1.122 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.9958, allocations: 162.2 kB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.9962, allocations: 299.6 kB / 1.123 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.9962, allocations: 37.7 kB / 1.123 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.9964, allocations: 208.1 kB / 1.123 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.9965, allocations: 78.89 kB / 1.123 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.9965, allocations: 8 kB / 1.123 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9966, allocations: 342.8 kB / 1.123 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.9968, allocations: 68 kB / 1.124 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.997, allocations: 152.7 kB / 1.124 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.9971, allocations: 75.92 kB / 1.124 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9972, allocations: 3.188 kB / 1.124 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004311/0.9976, allocations: 267 kB / 1.124 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9976, allocations: 4 kB / 1.124 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9976, allocations: 10.73 kB / 1.124 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9977, allocations: 0 / 1.124 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.9979, allocations: 51.92 kB / 1.124 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.9979, allocations: 7.938 kB / 1.124 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.9982, allocations: 47.89 kB / 1.124 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.9982, allocations: 15.94 kB / 1.124 GB, free: 10.62 MB / 0.7292 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 () * 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.0001055/0.9983, allocations: 116.9 kB / 1.124 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.9984, allocations: 43.52 kB / 1.124 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.9985, allocations: 35.25 kB / 1.124 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9985, allocations: 0 / 1.124 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9985, allocations: 4 kB / 1.124 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.9985, allocations: 7.953 kB / 1.124 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.999, allocations: 413.3 kB / 1.125 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.999, allocations: 0 / 1.125 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.9992, allocations: 39.98 kB / 1.125 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.9992, allocations: 7.938 kB / 1.125 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.9993, allocations: 7.984 kB / 1.125 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9993, allocations: 0 / 1.125 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9993, allocations: 0 / 1.125 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.9999, allocations: 420.3 kB / 1.125 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/1, allocations: 140.6 kB / 1.125 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/1, allocations: 15.97 kB / 1.125 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/1, allocations: 23.98 kB / 1.125 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/1, allocations: 22.03 kB / 1.125 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/1, allocations: 8.062 kB / 1.125 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002723/1.001, allocations: 246.2 kB / 1.126 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/1.001, allocations: 0 / 1.126 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000327/1.001, allocations: 71.78 kB / 1.126 GB, free: 8.941 MB / 0.7292 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) * 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.0001651/1.001, allocations: 103.2 kB / 1.126 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003745/1.002, allocations: 183.9 kB / 1.126 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.002, allocations: 256 / 1.126 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/1.002, allocations: 108.4 kB / 1.126 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/1.002, allocations: 76.94 kB / 1.126 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/1.003, allocations: 0.5128 MB / 1.127 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/1.004, allocations: 0.7992 MB / 1.127 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001705/1.004, allocations: 38.97 kB / 1.127 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/1.004, allocations: 27.42 kB / 1.127 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.004, allocations: 0 / 1.127 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of Templates: time 0.008022/1.012, allocations: 3.342 MB / 1.131 GB, free: 3.809 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)