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.934/1.934, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.001215/0.001215, allocations: 188.3 kB / 372 MB, free: 10.29 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.685/1.685, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008645/0.0008645, allocations: 88.42 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004304, allocations: 10.78 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002539/0.1941, allocations: 2.52 MB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1956, allocations: 0.8934 MB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.196, allocations: 15.94 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1962, allocations: 43.58 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1964, allocations: 71.41 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.1968, allocations: 151.2 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.1972, allocations: 431.3 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.1974, allocations: 145 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1976, allocations: 127.2 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1978, allocations: 131.1 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1978, allocations: 8 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.663e-05/0.1978, allocations: 15.94 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.1979, allocations: 51.7 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1979, allocations: 89.52 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1982, allocations: 371.2 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1982, allocations: 0 / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1982, allocations: 4 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.1982, allocations: 4 kB / 0.9845 GB, free: 22.64 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008378/0.199, allocations: 0.6389 MB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1991, allocations: 12.02 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.677e-05/0.1992, allocations: 51.38 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.1997, allocations: 379.3 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1997, allocations: 24.59 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.1998, allocations: 32 kB / 0.9856 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2003, allocations: 333.2 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.2003, allocations: 3.938 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.2003, allocations: 12 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2004, allocations: 8 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.2008, allocations: 218.1 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.202, allocations: 1.19 MB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.2026, allocations: 247.2 kB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.2028, allocations: 121.9 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2028, allocations: 4.188 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2028, allocations: 38.75 kB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.2028, allocations: 0 / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005838/0.2034, allocations: 297.2 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.2035, allocations: 110.8 kB / 0.9881 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.2037, allocations: 337.6 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.2038, allocations: 33.7 kB / 0.9884 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2039, allocations: 220.2 kB / 0.9886 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.2039, allocations: 74.91 kB / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.2039, allocations: 8 kB / 0.9887 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.204, allocations: 342.8 kB / 0.9891 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.2042, allocations: 79.97 kB / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2044, allocations: 147.7 kB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.2045, allocations: 87.97 kB / 0.9894 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2046, allocations: 0 / 0.9894 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004133/0.205, allocations: 281 kB / 0.9896 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.205, allocations: 7.984 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.205, allocations: 4 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.205, allocations: 3.938 kB / 0.9896 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.2052, allocations: 59.91 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2053, allocations: 7.953 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.2054, allocations: 43.83 kB / 0.9897 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2055, allocations: 8 kB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 31 * 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.0001201/0.2056, allocations: 157.8 kB / 0.9899 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.2056, allocations: 31.62 kB / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.2057, allocations: 39.36 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2057, allocations: 4 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2057, allocations: 3.984 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2057, allocations: 3.953 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.2061, allocations: 401.2 kB / 0.9904 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2061, allocations: 0 / 0.9904 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.2063, allocations: 43.86 kB / 0.9904 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2063, allocations: 0 / 0.9904 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2063, allocations: 11.98 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2063, allocations: 0 / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2063, allocations: 0 / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.2069, allocations: 448.9 kB / 0.9908 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.207, allocations: 120.7 kB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.207, allocations: 8 kB / 0.991 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2072, allocations: 23.98 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.2072, allocations: 19.97 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2073, allocations: 8 kB / 0.991 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001642/0.2074, allocations: 235.2 kB / 0.9912 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2074, allocations: 4 kB / 0.9912 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002642/0.2077, allocations: 67.75 kB / 0.9913 GB, free: 15.26 MB / 0.6198 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.0001175/0.2078, allocations: 99.25 kB / 0.9914 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.2082, allocations: 207.7 kB / 0.9916 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2082, allocations: 0 / 0.9916 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2084, allocations: 99.91 kB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.2089, allocations: 79.25 kB / 0.9918 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.21, allocations: 0.8295 MB / 0.9926 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.2102, allocations: 0.7992 MB / 0.9934 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.2104, allocations: 38.94 kB / 0.9934 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.2104, allocations: 27.44 kB / 0.9934 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2104, allocations: 0 / 0.9934 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.005568/0.216, allocations: 2.855 MB / 0.9962 GB, free: 10.21 MB / 0.6198 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)