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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6935/0.6935, allocations: 132.3 MB / 144.9 MB, free: 10.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001025/0.001025, allocations: 171.6 kB / 176.9 MB, free: 2.215 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.298/1.298, allocations: 170.5 MB / 379.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001567/0.001567, allocations: 117.4 kB / 450 MB, free: 5.855 MB / 346.7 MB [/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.4566/0.4567, allocations: 73.38 MB / 0.6736 GB, free: 47.62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5958, allocations: 107.2 MB / 0.7782 GB, free: 9.523 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.596, allocations: 73.8 kB / 0.7783 GB, free: 9.453 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02015/0.6162, allocations: 8.144 MB / 0.7863 GB, free: 1.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6163, allocations: 0 / 0.7863 GB, free: 1.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.6163, allocations: 11.94 kB / 0.7863 GB, free: 1.336 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008009/0.6171, allocations: 0.6092 MB / 0.7869 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6172, allocations: 8.031 kB / 0.7869 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.6172, allocations: 43.53 kB / 0.7869 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.6178, allocations: 375.8 kB / 0.7873 GB, free: 240 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.6178, allocations: 20.56 kB / 0.7873 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.6179, allocations: 32 kB / 0.7873 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.6184, allocations: 309.5 kB / 0.7876 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6184, allocations: 0 / 0.7876 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.6185, allocations: 12 kB / 0.7876 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.6185, allocations: 8 kB / 0.7876 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.6188, allocations: 194.2 kB / 0.7878 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.6201, allocations: 0.9939 MB / 0.7888 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.6206, allocations: 223.4 kB / 0.789 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.6207, allocations: 101.2 kB / 0.7891 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.6207, allocations: 4.188 kB / 0.7891 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.6208, allocations: 34.75 kB / 0.7891 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.6208, allocations: 2.906 kB / 0.7891 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.0003594/0.6211, allocations: 211.2 kB / 0.7893 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.6212, allocations: 132.5 kB / 0.7895 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.6215, allocations: 287.6 kB / 0.7897 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.6215, allocations: 37.7 kB / 0.7898 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.6217, allocations: 200.3 kB / 0.79 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.6217, allocations: 78.84 kB / 0.7901 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-06/0.6218, allocations: 0 / 0.7901 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6219, allocations: 350.8 kB / 0.7904 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.622, allocations: 64 kB / 0.7904 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.6221, allocations: 112.2 kB / 0.7906 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.6223, allocations: 71.98 kB / 0.7906 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6223, allocations: 0 / 0.7906 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003134/0.6226, allocations: 235 kB / 0.7908 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6226, allocations: 4 kB / 0.7909 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6226, allocations: 4 kB / 0.7909 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6226, allocations: 0 / 0.7909 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.6229, allocations: 51.94 kB / 0.7909 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6229, allocations: 5.172 kB / 0.7909 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.6231, allocations: 35.83 kB / 0.7909 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.6231, allocations: 4 kB / 0.7909 GB, free: 12.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.con.hys.y,con.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 8.377e-05/0.6232, allocations: 120.9 kB / 0.7911 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.6232, allocations: 43.52 kB / 0.7911 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.6233, allocations: 35.06 kB / 0.7911 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6233, allocations: 4 kB / 0.7911 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6234, allocations: 3.75 kB / 0.7911 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6234, allocations: 0 / 0.7911 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.6237, allocations: 409.3 kB / 0.7915 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6238, allocations: 0 / 0.7915 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.624, allocations: 47.97 kB / 0.7916 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.624, allocations: 0 / 0.7916 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.624, allocations: 5.875 kB / 0.7916 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.624, allocations: 4 kB / 0.7916 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.624, allocations: 3.938 kB / 0.7916 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.6245, allocations: 410.8 kB / 0.792 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6247, allocations: 136.7 kB / 0.7921 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.6247, allocations: 0 / 0.7921 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.6249, allocations: 28.05 kB / 0.7921 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.625, allocations: 19.97 kB / 0.7922 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.625, allocations: 4.047 kB / 0.7922 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002674/0.6253, allocations: 234.2 kB / 0.7924 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6253, allocations: 0 / 0.7924 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002881/0.6256, allocations: 75.69 kB / 0.7925 GB, free: 10.66 MB / 0.4948 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 (21): * Single equations (assignments): 21 * 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.0001598/0.6257, allocations: 111.2 kB / 0.7926 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.6261, allocations: 167.9 kB / 0.7927 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6261, allocations: 0 / 0.7927 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.6262, allocations: 104.2 kB / 0.7928 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.6266, allocations: 57.36 kB / 0.7929 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.6276, allocations: 487 kB / 0.7933 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.628, allocations: 0.7989 MB / 0.7941 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.6281, allocations: 31.5 kB / 0.7942 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.6282, allocations: 23.44 kB / 0.7942 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.6282, allocations: 0 / 0.7942 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.005942/0.6341, allocations: 2.991 MB / 0.7971 GB, free: 5.918 MB / 0.4948 GB 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)