Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.486/1.486, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.0009336/0.0009336, allocations: 179 kB / 372.2 MB, free: 10.11 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.278/1.278, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007977/0.0007979, allocations: 114.7 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 11.84 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00325/0.1726, allocations: 2.66 MB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1745, allocations: 0.9518 MB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004581/0.175, allocations: 11.94 kB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1753, allocations: 43.58 kB / 0.9838 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1756, allocations: 75.41 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.1761, allocations: 159 kB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.1766, allocations: 0.4919 MB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.177, allocations: 239.5 kB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1772, allocations: 139.2 kB / 0.9848 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1774, allocations: 155 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.1775, allocations: 12 kB / 0.985 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.1775, allocations: 15.94 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.1776, allocations: 55.7 kB / 0.9851 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1777, allocations: 204.6 kB / 0.9852 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.178, allocations: 414.9 kB / 0.9856 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.178, allocations: 0 / 0.9856 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.178, allocations: 0 / 0.9856 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.178, allocations: 4 kB / 0.9856 GB, free: 21.62 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009105/0.1789, allocations: 0.6804 MB / 0.9863 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.179, allocations: 16.03 kB / 0.9863 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.269e-05/0.179, allocations: 78.7 kB / 0.9864 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.1791, allocations: 48.38 kB / 0.9864 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.1796, allocations: 420.5 kB / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1796, allocations: 29.38 kB / 0.9869 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.1797, allocations: 36.38 kB / 0.9869 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.1802, allocations: 405.7 kB / 0.9873 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1803, allocations: 0 / 0.9873 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.1803, allocations: 16 kB / 0.9873 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1803, allocations: 8 kB / 0.9873 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.1808, allocations: 263.8 kB / 0.9876 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1821, allocations: 1.332 MB / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.1827, allocations: 312.7 kB / 0.9892 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.1829, allocations: 150.7 kB / 0.9893 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1829, allocations: 4 kB / 0.9893 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.1832, allocations: 181.4 kB / 0.9895 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.1832, allocations: 0 / 0.9895 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0006402/0.1839, allocations: 381.8 kB / 0.9899 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1839, allocations: 81.11 kB / 0.9899 GB, free: 17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1842, allocations: 345.6 kB / 0.9903 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1842, allocations: 41.7 kB / 0.9903 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.1843, allocations: 232.4 kB / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.1844, allocations: 106.5 kB / 0.9906 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.1844, allocations: 8 kB / 0.9906 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.1845, allocations: 354.7 kB / 0.991 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1847, allocations: 96.7 kB / 0.9911 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.1849, allocations: 180.3 kB / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.1852, allocations: 256.5 kB / 0.9915 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1852, allocations: 3.938 kB / 0.9915 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004857/0.1857, allocations: 354.5 kB / 0.9918 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1858, allocations: 8 kB / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1858, allocations: 0 / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1858, allocations: 4 kB / 0.9918 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.186, allocations: 67.89 kB / 0.9919 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.186, allocations: 4 kB / 0.9919 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1862, allocations: 47.86 kB / 0.9919 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1863, allocations: 12 kB / 0.992 GB, free: 14.84 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: 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.0001323/0.1864, allocations: 173.7 kB / 0.9921 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.1864, allocations: 39.53 kB / 0.9922 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.844e-05/0.1865, allocations: 48.23 kB / 0.9922 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1865, allocations: 4 kB / 0.9922 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1865, allocations: 3.938 kB / 0.9922 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1865, allocations: 4 kB / 0.9922 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.1874, allocations: 0.8076 MB / 0.993 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1874, allocations: 0 / 0.993 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.1876, allocations: 55.84 kB / 0.9931 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1876, allocations: 8 kB / 0.9931 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.1877, allocations: 8 kB / 0.9931 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1877, allocations: 4 kB / 0.9931 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1877, allocations: 0 / 0.9931 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.1883, allocations: 0.5185 MB / 0.9936 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.1884, allocations: 136.6 kB / 0.9937 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.1884, allocations: 12 kB / 0.9937 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1886, allocations: 27.88 kB / 0.9938 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.1887, allocations: 19.97 kB / 0.9938 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1887, allocations: 11.98 kB / 0.9938 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001685/0.1889, allocations: 243.1 kB / 0.994 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1889, allocations: 4.062 kB / 0.994 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002782/0.1892, allocations: 83.69 kB / 0.9941 GB, free: 12.54 MB / 0.6198 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.0007753/0.19, allocations: 1.067 MB / 0.9951 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.1904, allocations: 268.2 kB / 0.9954 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1904, allocations: 0 / 0.9954 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1906, allocations: 140.3 kB / 0.9955 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.1911, allocations: 78.19 kB / 0.9956 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.1939, allocations: 2.293 MB / 0.9978 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.194, allocations: 0.8152 MB / 0.9986 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000155/0.1942, allocations: 43.25 kB / 0.9987 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.1944, allocations: 143.4 kB / 0.9988 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.1944, allocations: 0 / 0.9988 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.21, allocations: 6.99 MB / 1.006 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.2101, allocations: 211.8 kB / 1.006 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.156, allocations: 0 / 1.006 GB, free: 0.5312 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)