Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.006177/0.006183, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001283/0.001283, allocations: 197.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.894/0.894, allocations: 143.1 MB / 433.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 60.16 kB / 0.595 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1701, allocations: 82.03 MB / 0.6751 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004646/0.1748, allocations: 2.965 MB / 0.678 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1767, allocations: 0.9234 MB / 0.6789 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.1772, allocations: 15.94 kB / 0.6789 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1776, allocations: 63.33 kB / 0.679 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1779, allocations: 91.17 kB / 0.6791 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.1786, allocations: 222.8 kB / 0.6793 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.1792, allocations: 491.2 kB / 0.6798 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.1796, allocations: 217.6 kB / 0.68 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1799, allocations: 183.2 kB / 0.6802 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.1802, allocations: 175 kB / 0.6803 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.41e-05/0.1803, allocations: 48 kB / 0.6804 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.1804, allocations: 47.94 kB / 0.6804 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.1805, allocations: 91.69 kB / 0.6805 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.1806, allocations: 202.8 kB / 0.6807 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1813, allocations: 0.5291 MB / 0.6812 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1813, allocations: 0 / 0.6812 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1813, allocations: 0 / 0.6812 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.1813, allocations: 0 / 0.6812 GB, free: 4.59 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001346/0.1826, allocations: 0.7167 MB / 0.6819 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1827, allocations: 11.97 kB / 0.6819 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.567e-05/0.1828, allocations: 66.72 kB / 0.682 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1829, allocations: 48.38 kB / 0.682 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.1836, allocations: 396.4 kB / 0.6824 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.1836, allocations: 25.03 kB / 0.6824 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.1837, allocations: 24.38 kB / 0.6825 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.1843, allocations: 345.2 kB / 0.6828 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1843, allocations: 0 / 0.6828 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.1843, allocations: 16 kB / 0.6828 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1844, allocations: 4 kB / 0.6828 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.1848, allocations: 214.1 kB / 0.683 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.1863, allocations: 1.178 MB / 0.6842 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.1869, allocations: 240.9 kB / 0.6844 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.1872, allocations: 116.8 kB / 0.6845 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.1872, allocations: 4 kB / 0.6845 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1872, allocations: 42.88 kB / 0.6845 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.1872, allocations: 0 / 0.6845 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0006779/0.1879, allocations: 285.1 kB / 0.6848 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.188, allocations: 110.8 kB / 0.6849 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.1884, allocations: 341.5 kB / 0.6853 GB, free: 196 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1884, allocations: 33.7 kB / 0.6853 GB, free: 156 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1886, allocations: 216.3 kB / 0.6855 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.1886, allocations: 78.91 kB / 0.6856 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.1887, allocations: 49.7 kB / 0.6856 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1889, allocations: 342.8 kB / 0.6859 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1891, allocations: 75.97 kB / 0.686 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.1893, allocations: 147.6 kB / 0.6862 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.1897, allocations: 213 kB / 0.6864 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1897, allocations: 3.938 kB / 0.6864 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005136/0.1902, allocations: 286.5 kB / 0.6866 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1903, allocations: 6.031 kB / 0.6866 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.056e-06/0.1903, allocations: 4 kB / 0.6866 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1903, allocations: 3.938 kB / 0.6866 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1905, allocations: 59.91 kB / 0.6867 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1905, allocations: 3.984 kB / 0.6867 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1907, allocations: 39.77 kB / 0.6867 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.1908, allocations: 4 kB / 0.6867 GB, free: 14.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001618/0.1909, allocations: 165.8 kB / 0.6869 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.191, allocations: 35.53 kB / 0.6869 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/0.1911, allocations: 43.34 kB / 0.687 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1911, allocations: 0 / 0.687 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1911, allocations: 0 / 0.687 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1911, allocations: 4 kB / 0.687 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1915, allocations: 401.1 kB / 0.6874 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1915, allocations: 0 / 0.6874 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1918, allocations: 43.91 kB / 0.6874 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1918, allocations: 4 kB / 0.6874 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1918, allocations: 8 kB / 0.6874 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1918, allocations: 0 / 0.6874 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1918, allocations: 0 / 0.6874 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.1925, allocations: 428.9 kB / 0.6878 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1926, allocations: 132.6 kB / 0.688 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.1927, allocations: 12 kB / 0.688 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1929, allocations: 15.98 kB / 0.688 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.1929, allocations: 15.97 kB / 0.688 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.193, allocations: 8 kB / 0.688 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002485/0.1932, allocations: 239.2 kB / 0.6882 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1932, allocations: 0 / 0.6882 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000315/0.1935, allocations: 67.84 kB / 0.6883 GB, free: 12.9 MB / 0.5294 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) * 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.0009137/0.1945, allocations: 0.9641 MB / 0.6892 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.1949, allocations: 204 kB / 0.6894 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1949, allocations: 0 / 0.6894 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1951, allocations: 97.78 kB / 0.6895 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.1956, allocations: 77.38 kB / 0.6896 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.1997, allocations: 3.11 MB / 0.6926 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2001, allocations: 0.7951 MB / 0.6934 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.2003, allocations: 42.95 kB / 0.6935 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.2005, allocations: 127.3 kB / 0.6936 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2005, allocations: 0 / 0.6936 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.2279, allocations: 6.794 MB / 0.7002 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.005, allocations: 14.14 kB / 0.7002 GB, free: 0.6992 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)