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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8734/0.8734, allocations: 145 MB / 458.2 MB, free: 15.69 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 66.56 kB / 0.6344 GB, free: 6.984 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1696, allocations: 87.89 MB / 0.7202 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005005/0.1746, allocations: 3.042 MB / 0.7232 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1767, allocations: 0.978 MB / 0.7241 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.177, allocations: 15.88 kB / 0.7241 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1774, allocations: 71.27 kB / 0.7242 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.1776, allocations: 91.17 kB / 0.7243 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.1782, allocations: 231 kB / 0.7245 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006353/0.1789, allocations: 499 kB / 0.725 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.1792, allocations: 154.2 kB / 0.7251 GB, free: 10 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.1796, allocations: 191.2 kB / 0.7253 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1798, allocations: 183 kB / 0.7255 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.1799, allocations: 40 kB / 0.7255 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.18, allocations: 48 kB / 0.7256 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.1801, allocations: 95.61 kB / 0.7257 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.1803, allocations: 202.9 kB / 0.7259 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.1809, allocations: 0.5406 MB / 0.7264 GB, free: 8.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1809, allocations: 3.938 kB / 0.7264 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1809, allocations: 0 / 0.7264 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.1809, allocations: 0 / 0.7264 GB, free: 8.711 MB / 0.545 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.001275/0.1822, allocations: 0.6606 MB / 0.727 GB, free: 8.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1823, allocations: 8.031 kB / 0.727 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.1825, allocations: 56.64 kB / 0.7271 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.1832, allocations: 346.8 kB / 0.7274 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1832, allocations: 21.03 kB / 0.7275 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.1833, allocations: 28.38 kB / 0.7275 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.1839, allocations: 345.6 kB / 0.7278 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1839, allocations: 0 / 0.7278 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.184, allocations: 12 kB / 0.7278 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.184, allocations: 4 kB / 0.7278 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.1845, allocations: 218.5 kB / 0.728 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.1862, allocations: 1.136 MB / 0.7291 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.1867, allocations: 226.7 kB / 0.7294 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.187, allocations: 108.8 kB / 0.7295 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.187, allocations: 3.984 kB / 0.7295 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.187, allocations: 38.94 kB / 0.7295 GB, free: 5.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.187, allocations: 3.938 kB / 0.7295 GB, free: 5.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006784/0.1877, allocations: 299.4 kB / 0.7298 GB, free: 5.059 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.1878, allocations: 102.8 kB / 0.7299 GB, free: 4.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.1882, allocations: 349.6 kB / 0.7302 GB, free: 4.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1882, allocations: 29.7 kB / 0.7303 GB, free: 4.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1883, allocations: 224.5 kB / 0.7305 GB, free: 4.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.1884, allocations: 83.31 kB / 0.7305 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.1885, allocations: 49.7 kB / 0.7306 GB, free: 4.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1887, allocations: 346.8 kB / 0.7309 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.1888, allocations: 71.97 kB / 0.731 GB, free: 3.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1891, allocations: 143.7 kB / 0.7311 GB, free: 3.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.1894, allocations: 211.2 kB / 0.7313 GB, free: 3.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1894, allocations: 4 kB / 0.7313 GB, free: 3.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004987/0.1899, allocations: 287.5 kB / 0.7316 GB, free: 3.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.19, allocations: 8 kB / 0.7316 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.19, allocations: 0 / 0.7316 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.19, allocations: 4 kB / 0.7316 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.1902, allocations: 55.91 kB / 0.7317 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1902, allocations: 4 kB / 0.7317 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1904, allocations: 35.77 kB / 0.7317 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1904, allocations: 16.12 kB / 0.7317 GB, free: 2.965 MB / 0.545 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.0001623/0.1906, allocations: 161.7 kB / 0.7319 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.1906, allocations: 35.77 kB / 0.7319 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.545e-05/0.1907, allocations: 43.44 kB / 0.732 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1907, allocations: 4 kB / 0.732 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1907, allocations: 3.938 kB / 0.732 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1907, allocations: 0 / 0.732 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.1912, allocations: 368.3 kB / 0.7323 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1912, allocations: 0 / 0.7323 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.1914, allocations: 47.97 kB / 0.7324 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1914, allocations: 0 / 0.7324 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1914, allocations: 4 kB / 0.7324 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1914, allocations: 0 / 0.7324 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1914, allocations: 0 / 0.7324 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.1921, allocations: 433.3 kB / 0.7328 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1922, allocations: 55.67 kB / 0.7328 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.1922, allocations: 11.94 kB / 0.7328 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1924, allocations: 15.98 kB / 0.7329 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.1925, allocations: 19.97 kB / 0.7329 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1925, allocations: 4 kB / 0.7329 GB, free: 1.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002502/0.1927, allocations: 243.2 kB / 0.7331 GB, free: 1.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1927, allocations: 0 / 0.7331 GB, free: 1.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000309/0.193, allocations: 63.89 kB / 0.7332 GB, free: 1.418 MB / 0.545 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.0001061/0.1931, allocations: 103.2 kB / 0.7333 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.1936, allocations: 187.8 kB / 0.7335 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1936, allocations: 0 / 0.7335 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1938, allocations: 100.2 kB / 0.7335 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.1943, allocations: 92.31 kB / 0.7336 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1955, allocations: 0.7436 MB / 0.7344 GB, free: 172 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.1959, allocations: 0.7912 MB / 0.7351 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.196, allocations: 39.36 kB / 0.7352 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.196, allocations: 0 / 0.7352 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.006495/0.2025, allocations: 4.274 MB / 0.7393 GB, free: 11.05 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8986420289147645] Failed to read output from testmodel.py, exit status != 0: 0.21118461899459362 0.484740139 0.30071695800000003 Calling exit ...