Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.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 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.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_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.005559/0.005559, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001084/0.001084, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.8619/0.8619, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 60.64 kB / 0.595 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1695, allocations: 82.03 MB / 0.6751 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004758/0.1743, allocations: 3.133 MB / 0.6782 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1765, allocations: 0.97 MB / 0.6791 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.177, allocations: 15.94 kB / 0.6792 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1773, allocations: 75.19 kB / 0.6792 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.1777, allocations: 95.11 kB / 0.6793 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.1784, allocations: 242.8 kB / 0.6795 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.1791, allocations: 0.5544 MB / 0.6801 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.1796, allocations: 243.5 kB / 0.6803 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.18, allocations: 219 kB / 0.6805 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.1803, allocations: 198.9 kB / 0.6807 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-05/0.1804, allocations: 52 kB / 0.6808 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.1805, allocations: 52 kB / 0.6808 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.1806, allocations: 119.6 kB / 0.6809 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1808, allocations: 234.7 kB / 0.6812 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.1815, allocations: 0.6146 MB / 0.6818 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1815, allocations: 0 / 0.6818 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1815, allocations: 0 / 0.6818 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.1815, allocations: 0 / 0.6818 GB, free: 4.078 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001301/0.1828, allocations: 0.7761 MB / 0.6825 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1829, allocations: 12.03 kB / 0.6825 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.451e-05/0.183, allocations: 86.64 kB / 0.6826 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.1831, allocations: 48.38 kB / 0.6827 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.1838, allocations: 416.7 kB / 0.683 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.1838, allocations: 33.38 kB / 0.6831 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.1839, allocations: 40.38 kB / 0.6831 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.1845, allocations: 397.7 kB / 0.6835 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.1846, allocations: 4 kB / 0.6835 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.1846, allocations: 19.94 kB / 0.6835 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1846, allocations: 11.98 kB / 0.6835 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/0.1852, allocations: 263.8 kB / 0.6838 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1869, allocations: 1.301 MB / 0.6851 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.1876, allocations: 316.5 kB / 0.6854 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1878, allocations: 140.8 kB / 0.6855 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.1879, allocations: 11.97 kB / 0.6855 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/0.1882, allocations: 174.1 kB / 0.6857 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.1882, allocations: 0 / 0.6857 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0008422/0.1891, allocations: 374.6 kB / 0.686 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.1892, allocations: 93.11 kB / 0.6861 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1895, allocations: 349.6 kB / 0.6864 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1896, allocations: 33.7 kB / 0.6865 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1898, allocations: 232.4 kB / 0.6867 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1899, allocations: 106.5 kB / 0.6868 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1901, allocations: 74.06 kB / 0.6869 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1902, allocations: 346.8 kB / 0.6872 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.1905, allocations: 108.6 kB / 0.6873 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.1907, allocations: 172.3 kB / 0.6875 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.1912, allocations: 255.8 kB / 0.6877 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1912, allocations: 3.938 kB / 0.6877 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005892/0.1918, allocations: 350.5 kB / 0.6881 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1918, allocations: 8 kB / 0.6881 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1918, allocations: 0 / 0.6881 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1919, allocations: 4 kB / 0.6881 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.1921, allocations: 63.91 kB / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1921, allocations: 4 kB / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1923, allocations: 39.67 kB / 0.6882 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1924, allocations: 16.19 kB / 0.6882 GB, free: 13.16 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: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.1926, allocations: 178.3 kB / 0.6884 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.1926, allocations: 43.53 kB / 0.6884 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/0.1927, allocations: 40.25 kB / 0.6884 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1927, allocations: 4 kB / 0.6884 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1927, allocations: 3.984 kB / 0.6884 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1927, allocations: 3.984 kB / 0.6884 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1938, allocations: 0.8031 MB / 0.6892 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1939, allocations: 0 / 0.6892 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.1941, allocations: 51.91 kB / 0.6893 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.1941, allocations: 4 kB / 0.6893 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1942, allocations: 8 kB / 0.6893 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1942, allocations: 0 / 0.6893 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1942, allocations: 4 kB / 0.6893 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.195, allocations: 0.5283 MB / 0.6898 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1951, allocations: 140.6 kB / 0.6899 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.1951, allocations: 8 kB / 0.69 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1953, allocations: 15.98 kB / 0.69 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.1954, allocations: 23.97 kB / 0.69 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1954, allocations: 7.984 kB / 0.69 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000242/0.1957, allocations: 247.2 kB / 0.6902 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1957, allocations: 0 / 0.6902 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003511/0.196, allocations: 91.69 kB / 0.6903 GB, free: 10.87 MB / 0.5294 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 (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.001116/0.1972, allocations: 1.057 MB / 0.6914 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005473/0.1977, allocations: 260 kB / 0.6916 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.1977, allocations: 0 / 0.6916 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.198, allocations: 152.2 kB / 0.6917 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.1985, allocations: 81.86 kB / 0.6918 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.203, allocations: 3.432 MB / 0.6952 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.2034, allocations: 0.8113 MB / 0.696 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.2036, allocations: 43.27 kB / 0.696 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.2038, allocations: 143.4 kB / 0.6961 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.2038, allocations: 0 / 0.6961 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.2278, allocations: 7.439 MB / 0.7034 GB, free: 13.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.273, allocations: 7.062 kB / 0.7034 GB, free: 13.47 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)