Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1744/0.1762, allocations: 80.84 MB / 0.5897 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.00487/0.1811, allocations: 3.017 MB / 0.5926 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1833, allocations: 0.9476 MB / 0.5935 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.1837, allocations: 15.94 kB / 0.5936 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.184, allocations: 47.58 kB / 0.5936 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1842, allocations: 75.42 kB / 0.5937 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.1847, allocations: 207.7 kB / 0.5939 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.1852, allocations: 455.2 kB / 0.5943 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.1856, allocations: 213.5 kB / 0.5945 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.1858, allocations: 151.2 kB / 0.5947 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1859, allocations: 171 kB / 0.5948 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.186, allocations: 20 kB / 0.5948 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.186, allocations: 20 kB / 0.5949 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.1861, allocations: 83.55 kB / 0.5949 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.1863, allocations: 186.8 kB / 0.5951 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.1867, allocations: 494.3 kB / 0.5956 GB, free: 1.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1867, allocations: 0 / 0.5956 GB, free: 1.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1867, allocations: 0 / 0.5956 GB, free: 1.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1867, allocations: 0 / 0.5956 GB, free: 1.051 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001064/0.1878, allocations: 0.7323 MB / 0.5963 GB, free: 272 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1878, allocations: 8.031 kB / 0.5963 GB, free: 264 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.1879, allocations: 52.38 kB / 0.5964 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.1884, allocations: 382.1 kB / 0.5967 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1884, allocations: 28.97 kB / 0.5967 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.1885, allocations: 28.38 kB / 0.5968 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.1891, allocations: 364.8 kB / 0.5971 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1892, allocations: 0 / 0.5971 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.1892, allocations: 16 kB / 0.5971 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1892, allocations: 8 kB / 0.5971 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/0.1897, allocations: 246.4 kB / 0.5974 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.1912, allocations: 1.201 MB / 0.5986 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.1918, allocations: 258.8 kB / 0.5988 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.192, allocations: 120.8 kB / 0.5989 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1921, allocations: 4.375 kB / 0.5989 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1921, allocations: 38.5 kB / 0.599 GB, free: 13.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.1921, allocations: 0 / 0.599 GB, free: 13.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006814/0.1928, allocations: 331.6 kB / 0.5993 GB, free: 13.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.1929, allocations: 140.5 kB / 0.5994 GB, free: 12.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.1932, allocations: 361.7 kB / 0.5998 GB, free: 12.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1933, allocations: 33.7 kB / 0.5998 GB, free: 12.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1934, allocations: 220.3 kB / 0.6 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.1935, allocations: 82.83 kB / 0.6001 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.1936, allocations: 45.94 kB / 0.6001 GB, free: 12.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1937, allocations: 350.8 kB / 0.6005 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.1939, allocations: 97.75 kB / 0.6005 GB, free: 11.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1941, allocations: 144.5 kB / 0.6007 GB, free: 11.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.1945, allocations: 217.9 kB / 0.6009 GB, free: 11.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1945, allocations: 0 / 0.6009 GB, free: 11.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004653/0.195, allocations: 297.6 kB / 0.6012 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.195, allocations: 4 kB / 0.6012 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.195, allocations: 4 kB / 0.6012 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.195, allocations: 3.938 kB / 0.6012 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.1953, allocations: 51.97 kB / 0.6012 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1953, allocations: 0 / 0.6012 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1955, allocations: 35.73 kB / 0.6013 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1955, allocations: 12 kB / 0.6013 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002342/0.1957, allocations: 204.3 kB / 0.6015 GB, free: 10.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001726/0.1959, allocations: 138.4 kB / 0.6016 GB, free: 10.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002694/0.1962, allocations: 195.3 kB / 0.6018 GB, free: 10.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1962, allocations: 0 / 0.6018 GB, free: 10.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0003725/0.1966, allocations: 253.2 kB / 0.602 GB, free: 10.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.1966, allocations: 8 kB / 0.602 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.1966, allocations: 3.938 kB / 0.602 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.1966, allocations: 0 / 0.602 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.1968, allocations: 51.91 kB / 0.6021 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1968, allocations: 4 kB / 0.6021 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.197, allocations: 35.92 kB / 0.6021 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.197, allocations: 7.984 kB / 0.6021 GB, free: 9.969 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.1971, allocations: 200.6 kB / 0.6023 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.1972, allocations: 35.53 kB / 0.6024 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.1973, allocations: 43.45 kB / 0.6024 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1973, allocations: 4.094 kB / 0.6024 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1973, allocations: 4 kB / 0.6024 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1973, allocations: 7.922 kB / 0.6024 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.1977, allocations: 429.2 kB / 0.6028 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1978, allocations: 3.984 kB / 0.6028 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.198, allocations: 39.92 kB / 0.6029 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.198, allocations: 0 / 0.6029 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.198, allocations: 11.98 kB / 0.6029 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.198, allocations: 0 / 0.6029 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.198, allocations: 0 / 0.6029 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.1987, allocations: 470.8 kB / 0.6033 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1989, allocations: 140.6 kB / 0.6035 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.1989, allocations: 8 kB / 0.6035 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1991, allocations: 15.98 kB / 0.6035 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.1992, allocations: 23.91 kB / 0.6035 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1992, allocations: 12.05 kB / 0.6035 GB, free: 8.453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.1994, allocations: 259.2 kB / 0.6038 GB, free: 8.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1995, allocations: 0 / 0.6038 GB, free: 8.207 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.1999, allocations: 123.5 kB / 0.6039 GB, free: 8.086 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.2, allocations: 103.2 kB / 0.604 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.2006, allocations: 336.5 kB / 0.6043 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.2006, allocations: 0 / 0.6043 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2008, allocations: 119.8 kB / 0.6044 GB, free: 7.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.2015, allocations: 76.2 kB / 0.6045 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2027, allocations: 0.8658 MB / 0.6053 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2031, allocations: 0.7992 MB / 0.6061 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.2032, allocations: 38.95 kB / 0.6062 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.2033, allocations: 31.44 kB / 0.6062 GB, free: 5.668 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2033, allocations: 0 / 0.6062 GB, free: 5.668 MB / 462.1 MB Notification: Performance of Templates: time 0.006987/0.2103, allocations: 3.455 MB / 0.6096 GB, free: 2.258 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)