Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006712/0.0006713, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007613/0.0007613, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004516, allocations: 16.25 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1744, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002659/0.1771, allocations: 2.664 MB / 0.79 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1783, allocations: 0.9402 MB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1785, allocations: 15.94 kB / 0.7909 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1787, allocations: 47.52 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1788, allocations: 71.41 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1792, allocations: 163.7 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.1796, allocations: 495.8 kB / 0.7917 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.1799, allocations: 167.7 kB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.18, allocations: 143.2 kB / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1802, allocations: 151.1 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.1802, allocations: 12 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.501e-05/0.1803, allocations: 16 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.1803, allocations: 63.64 kB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.1804, allocations: 97.45 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1807, allocations: 419.2 kB / 0.7927 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1807, allocations: 0 / 0.7927 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1807, allocations: 0 / 0.7927 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.1807, allocations: 4 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008639/0.1816, allocations: 0.6958 MB / 0.7934 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1816, allocations: 12.02 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.271e-05/0.1817, allocations: 74.53 kB / 0.7935 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.1818, allocations: 51.44 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.1822, allocations: 399.5 kB / 0.7939 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1823, allocations: 29 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.1823, allocations: 39.94 kB / 0.794 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.1829, allocations: 401.6 kB / 0.7943 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1829, allocations: 0 / 0.7943 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.183, allocations: 19.94 kB / 0.7944 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.183, allocations: 8 kB / 0.7944 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.1834, allocations: 271.8 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1848, allocations: 1.328 MB / 0.7959 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.1854, allocations: 314.6 kB / 0.7962 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.1857, allocations: 149.2 kB / 0.7964 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1857, allocations: 4 kB / 0.7964 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.186, allocations: 173.5 kB / 0.7965 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.186, allocations: 0 / 0.7965 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0006629/0.1867, allocations: 386.9 kB / 0.7969 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1867, allocations: 89.09 kB / 0.797 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.187, allocations: 345.6 kB / 0.7973 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1871, allocations: 37.7 kB / 0.7974 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1872, allocations: 224.4 kB / 0.7976 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.1873, allocations: 110.5 kB / 0.7977 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.1873, allocations: 4 kB / 0.7977 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1874, allocations: 350.8 kB / 0.798 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.1876, allocations: 96.7 kB / 0.7981 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1878, allocations: 180.3 kB / 0.7983 GB, free: 380 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1881, allocations: 121.6 kB / 0.7984 GB, free: 260 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1881, allocations: 0 / 0.7984 GB, free: 260 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000524/0.1886, allocations: 343 kB / 0.7987 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1886, allocations: 8.172 kB / 0.7987 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1886, allocations: 4 kB / 0.7987 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1887, allocations: 4 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.1889, allocations: 71.84 kB / 0.7988 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1889, allocations: 4 kB / 0.7988 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.1891, allocations: 39.64 kB / 0.7988 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.1891, allocations: 16 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001551/0.1893, allocations: 181.6 kB / 0.799 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.1893, allocations: 35.61 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/0.1894, allocations: 48.25 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1894, allocations: 4 kB / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1894, allocations: 0 / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1894, allocations: 4 kB / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.1904, allocations: 0.8152 MB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1904, allocations: 3.984 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.1906, allocations: 51.91 kB / 0.8 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1906, allocations: 0 / 0.8 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1906, allocations: 8 kB / 0.8 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1907, allocations: 0 / 0.8 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1907, allocations: 0 / 0.8 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.1914, allocations: 0.5228 MB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1915, allocations: 132.6 kB / 0.8006 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.1915, allocations: 15.92 kB / 0.8006 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1917, allocations: 24.05 kB / 0.8007 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.1918, allocations: 23.97 kB / 0.8007 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1918, allocations: 15.98 kB / 0.8007 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002001/0.192, allocations: 239.2 kB / 0.8009 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.192, allocations: 0 / 0.8009 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003032/0.1923, allocations: 87.69 kB / 0.801 GB, free: 13.47 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009167/0.1932, allocations: 1.068 MB / 0.802 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.1937, allocations: 271.7 kB / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1937, allocations: 0 / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.1939, allocations: 135.8 kB / 0.8024 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1944, allocations: 73.89 kB / 0.8025 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.1975, allocations: 2.296 MB / 0.8047 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1978, allocations: 0.8191 MB / 0.8055 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.1979, allocations: 47.25 kB / 0.8056 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.1981, allocations: 143.4 kB / 0.8057 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.1981, allocations: 0 / 0.8057 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.2139, allocations: 6.949 MB / 0.8125 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.2141, allocations: 198 kB / 0.8127 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.78, allocations: 0 / 0.8127 GB, free: 1.492 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) Environment - environmentSimulation: