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: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 112.8 kB / 16.41 MB, free: 6.484 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.001188/0.001188, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 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.8607/0.8607, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1737, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004866/0.1786, allocations: 2.982 MB / 0.6792 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1809, allocations: 0.9196 MB / 0.6801 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.1814, allocations: 11.94 kB / 0.6801 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.1818, allocations: 63.27 kB / 0.6802 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.1823, allocations: 91.17 kB / 0.6802 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000721/0.183, allocations: 223 kB / 0.6805 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006562/0.1837, allocations: 487.2 kB / 0.6809 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1841, allocations: 217.6 kB / 0.6811 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1843, allocations: 179.2 kB / 0.6813 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.1845, allocations: 179 kB / 0.6815 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.1846, allocations: 44 kB / 0.6815 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.1847, allocations: 44 kB / 0.6816 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.1848, allocations: 95.61 kB / 0.6816 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.185, allocations: 202.9 kB / 0.6818 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.1855, allocations: 0.5371 MB / 0.6824 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1855, allocations: 0 / 0.6824 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1856, allocations: 0 / 0.6824 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.1856, allocations: 0 / 0.6824 GB, free: 4.102 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.001138/0.1867, allocations: 0.7075 MB / 0.6831 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1868, allocations: 8.031 kB / 0.6831 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/0.1869, allocations: 52.31 kB / 0.6831 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.1875, allocations: 400.3 kB / 0.6835 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.1876, allocations: 25.03 kB / 0.6835 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.1876, allocations: 32.38 kB / 0.6835 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.1882, allocations: 337.4 kB / 0.6839 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1882, allocations: 3.984 kB / 0.6839 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.1883, allocations: 19.94 kB / 0.6839 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1883, allocations: 8 kB / 0.6839 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.1887, allocations: 214.1 kB / 0.6841 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1902, allocations: 1.178 MB / 0.6853 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.1908, allocations: 234.7 kB / 0.6855 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.191, allocations: 116.8 kB / 0.6856 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1911, allocations: 4 kB / 0.6856 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1911, allocations: 30.94 kB / 0.6856 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.273e-06/0.1911, allocations: 4 kB / 0.6856 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.00064/0.1917, allocations: 291.4 kB / 0.6859 GB, free: 268 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.1918, allocations: 106.8 kB / 0.686 GB, free: 136 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.1922, allocations: 345.5 kB / 0.6863 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1922, allocations: 29.7 kB / 0.6864 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1924, allocations: 220.2 kB / 0.6866 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.1924, allocations: 78.89 kB / 0.6866 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.1925, allocations: 53.7 kB / 0.6867 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1927, allocations: 346.8 kB / 0.687 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.1928, allocations: 71.97 kB / 0.6871 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.1931, allocations: 151.7 kB / 0.6872 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.1935, allocations: 209 kB / 0.6874 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1935, allocations: 0 / 0.6874 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004837/0.194, allocations: 282.4 kB / 0.6877 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.194, allocations: 8 kB / 0.6877 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.194, allocations: 3.984 kB / 0.6877 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.194, allocations: 4.188 kB / 0.6877 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1943, allocations: 55.91 kB / 0.6878 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.1943, allocations: 7.938 kB / 0.6878 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.1944, allocations: 31.77 kB / 0.6878 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1945, allocations: 15.98 kB / 0.6878 GB, free: 14.17 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.0001702/0.1947, allocations: 157.7 kB / 0.688 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.1947, allocations: 39.53 kB / 0.688 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/0.1948, allocations: 39.36 kB / 0.6881 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1948, allocations: 4 kB / 0.6881 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1948, allocations: 0 / 0.6881 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.1948, allocations: 0 / 0.6881 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.1953, allocations: 389.3 kB / 0.6884 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1953, allocations: 8 kB / 0.6884 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.1955, allocations: 47.91 kB / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1955, allocations: 0 / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1955, allocations: 3.938 kB / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1955, allocations: 4 kB / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1955, allocations: 0 / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.1962, allocations: 441.3 kB / 0.6889 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1963, allocations: 136.6 kB / 0.689 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.1964, allocations: 0 / 0.689 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1966, allocations: 15.98 kB / 0.6891 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1966, allocations: 28.03 kB / 0.6891 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1967, allocations: 4 kB / 0.6891 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002331/0.1969, allocations: 239.2 kB / 0.6893 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1969, allocations: 0 / 0.6893 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003078/0.1972, allocations: 63.84 kB / 0.6894 GB, free: 12.49 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.0001216/0.1974, allocations: 100.1 kB / 0.6895 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.1978, allocations: 203.7 kB / 0.6897 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1978, allocations: 0 / 0.6897 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.198, allocations: 103.9 kB / 0.6898 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.1985, allocations: 72.14 kB / 0.6898 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1998, allocations: 0.7351 MB / 0.6906 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.2001, allocations: 0.7912 MB / 0.6913 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.2002, allocations: 27.44 kB / 0.6914 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of SimCode: time 5.2e-07/0.2002, allocations: 0 / 0.6914 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.006238/0.2065, allocations: 4.27 MB / 0.6955 GB, free: 6.145 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)