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.00131/0.001311, allocations: 104.6 kB / 16.41 MB, free: 6.496 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.001359/0.001359, allocations: 183 kB / 17.34 MB, free: 5.734 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.37/1.37, 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.8716/0.8716, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.09 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1789, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005144/0.1841, allocations: 2.969 MB / 0.6792 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1863, allocations: 0.9235 MB / 0.6801 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.1868, allocations: 15.94 kB / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.1872, allocations: 63.33 kB / 0.6802 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.1876, allocations: 91.17 kB / 0.6802 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.1883, allocations: 218.6 kB / 0.6805 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.189, allocations: 491.2 kB / 0.6809 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.1895, allocations: 217.6 kB / 0.6811 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.1899, allocations: 187.2 kB / 0.6813 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.1902, allocations: 175.1 kB / 0.6815 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.1903, allocations: 44 kB / 0.6815 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.1904, allocations: 47.94 kB / 0.6816 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.1905, allocations: 87.69 kB / 0.6816 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1907, allocations: 210.8 kB / 0.6818 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.1913, allocations: 0.5293 MB / 0.6824 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1913, allocations: 0 / 0.6824 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1913, allocations: 0 / 0.6824 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.1913, allocations: 0 / 0.6824 GB, free: 4.09 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.001791/0.1931, allocations: 0.709 MB / 0.6831 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1932, allocations: 8.031 kB / 0.6831 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.1934, allocations: 52.31 kB / 0.6831 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1945, allocations: 404.3 kB / 0.6835 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.1945, allocations: 25.03 kB / 0.6835 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.1946, allocations: 28.38 kB / 0.6836 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.1956, allocations: 341.4 kB / 0.6839 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1956, allocations: 3.984 kB / 0.6839 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.1957, allocations: 12 kB / 0.6839 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.1957, allocations: 8 kB / 0.6839 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.1965, allocations: 214.1 kB / 0.6841 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.1989, allocations: 1.182 MB / 0.6853 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.1997, allocations: 236.6 kB / 0.6855 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.2001, allocations: 116.8 kB / 0.6856 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.2001, allocations: 0 / 0.6856 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.2002, allocations: 34.94 kB / 0.6856 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.2002, allocations: 3.938 kB / 0.6856 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.001017/0.2012, allocations: 291.4 kB / 0.6859 GB, free: 252 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.2013, allocations: 102.8 kB / 0.686 GB, free: 124 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.2019, allocations: 349.5 kB / 0.6863 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.202, allocations: 29.7 kB / 0.6864 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.2022, allocations: 220.2 kB / 0.6866 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.2024, allocations: 78.89 kB / 0.6867 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.2025, allocations: 49.7 kB / 0.6867 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.2027, allocations: 346.8 kB / 0.687 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.203, allocations: 71.97 kB / 0.6871 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.2034, allocations: 155.6 kB / 0.6873 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.204, allocations: 205.9 kB / 0.6874 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.204, allocations: 0 / 0.6874 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008237/0.2048, allocations: 288.8 kB / 0.6877 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2049, allocations: 8 kB / 0.6877 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2049, allocations: 0 / 0.6877 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.2049, allocations: 4 kB / 0.6877 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.2053, allocations: 51.91 kB / 0.6878 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.2053, allocations: 7.938 kB / 0.6878 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.2056, allocations: 31.77 kB / 0.6878 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.2057, allocations: 15.98 kB / 0.6878 GB, free: 14.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: 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.0002836/0.206, allocations: 165.9 kB / 0.688 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2061, allocations: 35.53 kB / 0.688 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.2062, allocations: 35.36 kB / 0.6881 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.2062, allocations: 4 kB / 0.6881 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2063, allocations: 0 / 0.6881 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2063, allocations: 3.938 kB / 0.6881 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.2069, allocations: 393.3 kB / 0.6884 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.207, allocations: 4 kB / 0.6884 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.2073, allocations: 47.97 kB / 0.6885 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.2073, allocations: 3.938 kB / 0.6885 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.2074, allocations: 4 kB / 0.6885 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2074, allocations: 0 / 0.6885 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2074, allocations: 4 kB / 0.6885 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2084, allocations: 433.1 kB / 0.6889 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.2087, allocations: 136.6 kB / 0.689 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.2087, allocations: 4 kB / 0.6891 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.209, allocations: 11.98 kB / 0.6891 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.2091, allocations: 23.97 kB / 0.6891 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2092, allocations: 4 kB / 0.6891 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003769/0.2095, allocations: 239.2 kB / 0.6893 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2096, allocations: 0 / 0.6893 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005796/0.2101, allocations: 67.84 kB / 0.6894 GB, free: 12.48 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.0001623/0.2103, allocations: 107.2 kB / 0.6895 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000674/0.211, allocations: 197 kB / 0.6897 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.211, allocations: 4 kB / 0.6897 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.2113, allocations: 100.3 kB / 0.6898 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.2122, allocations: 78.45 kB / 0.6898 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.2143, allocations: 0.7301 MB / 0.6906 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.2148, allocations: 0.795 MB / 0.6913 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.215, allocations: 35.44 kB / 0.6914 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.215, allocations: 0 / 0.6914 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.01099/0.226, allocations: 4.261 MB / 0.6955 GB, free: 6.129 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)