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.7862/0.7862, allocations: 132.4 MB / 139.9 MB, free: 2.809 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001316/0.001316, allocations: 173.4 kB / 171.8 MB, free: 4.938 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.423/1.423, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001665/0.001664, allocations: 109.7 kB / 444.8 MB, free: 14.14 MB / 314.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.1928/0.1929, allocations: 73.42 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6073/0.8003, allocations: 106.5 MB / 0.7706 GB, free: 9.113 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.8007, allocations: 75.95 kB / 0.7707 GB, free: 9.039 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02203/0.8227, allocations: 8.078 MB / 0.7786 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8228, allocations: 4 kB / 0.7786 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.8228, allocations: 4 kB / 0.7786 GB, free: 0.9219 MB / 474.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.0009318/0.8237, allocations: 0.6014 MB / 0.7792 GB, free: 284 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.8238, allocations: 8.031 kB / 0.7792 GB, free: 276 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.8239, allocations: 47.44 kB / 0.7792 GB, free: 228 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.8245, allocations: 380.1 kB / 0.7796 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.8246, allocations: 16 kB / 0.7796 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.8246, allocations: 16 kB / 0.7796 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003615/0.825, allocations: 177.1 kB / 0.7798 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.8255, allocations: 268.3 kB / 0.78 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8255, allocations: 0 / 0.78 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.8255, allocations: 0 / 0.78 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.8256, allocations: 8 kB / 0.78 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.8271, allocations: 0.9232 MB / 0.7809 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.8275, allocations: 215.2 kB / 0.7811 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.8277, allocations: 85.89 kB / 0.7812 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.8277, allocations: 12.17 kB / 0.7812 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.8278, allocations: 30.75 kB / 0.7813 GB, free: 13.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.8278, allocations: 4 kB / 0.7813 GB, free: 13.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003706/0.8282, allocations: 193.7 kB / 0.7815 GB, free: 13.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.8283, allocations: 132.5 kB / 0.7816 GB, free: 13.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.8286, allocations: 265.1 kB / 0.7818 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.8286, allocations: 25.7 kB / 0.7819 GB, free: 13.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.8288, allocations: 208 kB / 0.7821 GB, free: 13.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.8289, allocations: 70.91 kB / 0.7821 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.8289, allocations: 0 / 0.7821 GB, free: 13.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.829, allocations: 342.8 kB / 0.7825 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.8292, allocations: 64 kB / 0.7825 GB, free: 12.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.8293, allocations: 104.3 kB / 0.7826 GB, free: 12.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.8294, allocations: 63.97 kB / 0.7827 GB, free: 12.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8295, allocations: 0 / 0.7827 GB, free: 12.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003347/0.8298, allocations: 213.9 kB / 0.7829 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8298, allocations: 4 kB / 0.7829 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8298, allocations: 3.938 kB / 0.7829 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8299, allocations: 4 kB / 0.7829 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.8301, allocations: 51.94 kB / 0.7829 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8301, allocations: 4 kB / 0.7829 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.8303, allocations: 31.81 kB / 0.783 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.8303, allocations: 8 kB / 0.783 GB, free: 12.15 MB / 490.7 MB 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 0.0001026/0.8304, allocations: 116.9 kB / 0.7831 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.8305, allocations: 27.72 kB / 0.7831 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.8306, allocations: 30.95 kB / 0.7831 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8306, allocations: 0 / 0.7831 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.8306, allocations: 0 / 0.7831 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.8306, allocations: 4 kB / 0.7832 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.8311, allocations: 361.7 kB / 0.7835 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8311, allocations: 0 / 0.7835 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.8313, allocations: 43.97 kB / 0.7835 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8313, allocations: 4 kB / 0.7835 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.8314, allocations: 8 kB / 0.7835 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8314, allocations: 0 / 0.7835 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8314, allocations: 0 / 0.7835 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.8319, allocations: 395.1 kB / 0.7839 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.8321, allocations: 136.7 kB / 0.7841 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.8321, allocations: 4 kB / 0.7841 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.8323, allocations: 24.05 kB / 0.7841 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.8324, allocations: 15.97 kB / 0.7841 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.8325, allocations: 4 kB / 0.7841 GB, free: 10.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.8327, allocations: 204.6 kB / 0.7843 GB, free: 10.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8327, allocations: 0 / 0.7843 GB, free: 10.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.833, allocations: 67.69 kB / 0.7844 GB, free: 10.66 MB / 490.7 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) * 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.000143/0.8331, allocations: 99.25 kB / 0.7845 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.8334, allocations: 159.9 kB / 0.7846 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8335, allocations: 7.938 kB / 0.7846 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.8336, allocations: 87.88 kB / 0.7847 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.834, allocations: 53.2 kB / 0.7848 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.835, allocations: 496.2 kB / 0.7852 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.8354, allocations: 0.795 MB / 0.786 GB, free: 8.914 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.8356, allocations: 34.06 kB / 0.786 GB, free: 8.883 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.8356, allocations: 19.44 kB / 0.7861 GB, free: 8.863 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8356, allocations: 0 / 0.7861 GB, free: 8.863 MB / 490.7 MB Notification: Performance of Templates: time 0.006008/0.8417, allocations: 2.659 MB / 0.7886 GB, free: 6.227 MB / 490.7 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)