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.00725/0.00725, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001704/0.001705, allocations: 191 kB / 16.67 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.8682/0.8682, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 68.2 kB / 0.595 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1697, allocations: 82.04 MB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004997/0.1747, allocations: 2.972 MB / 0.678 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1769, allocations: 0.9156 MB / 0.6789 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.1774, allocations: 15.94 kB / 0.679 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1777, allocations: 67.31 kB / 0.679 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1781, allocations: 95.17 kB / 0.6791 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.1787, allocations: 218.6 kB / 0.6793 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.1794, allocations: 499.2 kB / 0.6798 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.1798, allocations: 205.6 kB / 0.68 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.1802, allocations: 187.2 kB / 0.6802 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.1804, allocations: 175 kB / 0.6803 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.1805, allocations: 44 kB / 0.6804 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.1806, allocations: 44 kB / 0.6804 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.1807, allocations: 99.62 kB / 0.6805 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.1809, allocations: 198.9 kB / 0.6807 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.1815, allocations: 0.5368 MB / 0.6812 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1815, allocations: 0 / 0.6812 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1815, allocations: 0 / 0.6812 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.1815, allocations: 4 kB / 0.6812 GB, free: 4.609 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.001235/0.1828, allocations: 0.705 MB / 0.6819 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1828, allocations: 12.03 kB / 0.6819 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.579e-05/0.1829, allocations: 70.67 kB / 0.682 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.183, allocations: 48.38 kB / 0.682 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.1837, allocations: 400.4 kB / 0.6824 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1838, allocations: 21.03 kB / 0.6824 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.1838, allocations: 32.38 kB / 0.6825 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.1844, allocations: 341.2 kB / 0.6828 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1845, allocations: 0 / 0.6828 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.1845, allocations: 12 kB / 0.6828 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1845, allocations: 8 kB / 0.6828 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.185, allocations: 214.1 kB / 0.683 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.1866, allocations: 1.182 MB / 0.6842 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.1872, allocations: 232.6 kB / 0.6844 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.1874, allocations: 120 kB / 0.6845 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1875, allocations: 0 / 0.6845 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1875, allocations: 38.88 kB / 0.6846 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.1875, allocations: 0 / 0.6846 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0006905/0.1882, allocations: 298.4 kB / 0.6848 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.1883, allocations: 102.8 kB / 0.6849 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.1887, allocations: 349.5 kB / 0.6853 GB, free: 220 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1887, allocations: 29.7 kB / 0.6853 GB, free: 184 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1889, allocations: 224.2 kB / 0.6855 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.189, allocations: 74.91 kB / 0.6856 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.1891, allocations: 49.7 kB / 0.6856 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1892, allocations: 346.8 kB / 0.686 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1894, allocations: 75.97 kB / 0.686 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1896, allocations: 147.6 kB / 0.6862 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.19, allocations: 209 kB / 0.6864 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.19, allocations: 3.938 kB / 0.6864 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000538/0.1906, allocations: 282.5 kB / 0.6866 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1906, allocations: 4 kB / 0.6866 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.1906, allocations: 4 kB / 0.6867 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.1907, allocations: 7.938 kB / 0.6867 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1909, allocations: 51.91 kB / 0.6867 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1909, allocations: 7.938 kB / 0.6867 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1911, allocations: 35.95 kB / 0.6868 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.1911, allocations: 12 kB / 0.6868 GB, free: 14.61 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.0001742/0.1913, allocations: 161.7 kB / 0.6869 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1914, allocations: 35.53 kB / 0.6869 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.175e-05/0.1915, allocations: 35.36 kB / 0.687 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1915, allocations: 4 kB / 0.687 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.1915, allocations: 7.984 kB / 0.687 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1915, allocations: 0 / 0.687 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.192, allocations: 397.2 kB / 0.6874 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.192, allocations: 0 / 0.6874 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.1922, allocations: 39.98 kB / 0.6874 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1923, allocations: 4 kB / 0.6874 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.1923, allocations: 3.984 kB / 0.6874 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1923, allocations: 0 / 0.6874 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1923, allocations: 0 / 0.6874 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.193, allocations: 436.4 kB / 0.6878 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1931, allocations: 136.6 kB / 0.688 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.1932, allocations: 0 / 0.688 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1933, allocations: 15.98 kB / 0.688 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.1934, allocations: 15.98 kB / 0.688 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1934, allocations: 7.984 kB / 0.688 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002385/0.1937, allocations: 243.1 kB / 0.6882 GB, free: 13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/0.1937, allocations: 4.062 kB / 0.6882 GB, free: 13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003232/0.194, allocations: 63.84 kB / 0.6883 GB, free: 12.94 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.0009648/0.195, allocations: 0.971 MB / 0.6892 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.1955, allocations: 200.9 kB / 0.6894 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1955, allocations: 0 / 0.6894 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.1957, allocations: 95.91 kB / 0.6895 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.1962, allocations: 90.8 kB / 0.6896 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.2005, allocations: 3.114 MB / 0.6927 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.201, allocations: 0.7873 MB / 0.6934 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.2012, allocations: 42.95 kB / 0.6935 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.2014, allocations: 127.4 kB / 0.6936 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.2014, allocations: 3.938 kB / 0.6936 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.2299, allocations: 6.669 MB / 0.7001 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.216, allocations: 6.766 kB / 0.7001 GB, free: 0.8477 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)