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.001608/0.001608, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001773/0.001773, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8913/0.8913, allocations: 145 MB / 458.2 MB, free: 15.28 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.002105/0.002105, allocations: 66.92 kB / 0.6343 GB, free: 6.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1749, allocations: 87.89 MB / 0.7201 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004813/0.1797, allocations: 2.813 MB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1817, allocations: 0.939 MB / 0.7238 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.1819, allocations: 15.88 kB / 0.7238 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.1821, allocations: 67.33 kB / 0.7239 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1823, allocations: 95.17 kB / 0.724 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.1829, allocations: 230.4 kB / 0.7242 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.1834, allocations: 0.4911 MB / 0.7247 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.1837, allocations: 142.2 kB / 0.7248 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.184, allocations: 195.2 kB / 0.725 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1842, allocations: 155 kB / 0.7251 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.1843, allocations: 44 kB / 0.7252 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.741e-05/0.1844, allocations: 52 kB / 0.7252 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.1844, allocations: 91.62 kB / 0.7253 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1846, allocations: 159.1 kB / 0.7255 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.1852, allocations: 0.5446 MB / 0.726 GB, free: 8.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1852, allocations: 0 / 0.726 GB, free: 8.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1852, allocations: 0 / 0.726 GB, free: 8.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.1852, allocations: 0 / 0.726 GB, free: 8.281 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.001137/0.1863, allocations: 0.6605 MB / 0.7266 GB, free: 7.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1864, allocations: 8.031 kB / 0.7266 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1866, allocations: 60.64 kB / 0.7267 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.1873, allocations: 345.4 kB / 0.727 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.1873, allocations: 25.03 kB / 0.7271 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.1874, allocations: 28.38 kB / 0.7271 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.188, allocations: 422.7 kB / 0.7275 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.188, allocations: 0 / 0.7275 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.188, allocations: 12 kB / 0.7275 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.188, allocations: 4 kB / 0.7275 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.1885, allocations: 218.5 kB / 0.7277 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.19, allocations: 0.9578 MB / 0.7286 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.1906, allocations: 226.7 kB / 0.7289 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.1908, allocations: 104.8 kB / 0.729 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1908, allocations: 11.98 kB / 0.729 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.1909, allocations: 38.56 kB / 0.729 GB, free: 5.027 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.1909, allocations: 0 / 0.729 GB, free: 5.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006863/0.1916, allocations: 295.3 kB / 0.7293 GB, free: 4.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.1916, allocations: 106.8 kB / 0.7294 GB, free: 4.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.192, allocations: 329.7 kB / 0.7297 GB, free: 4.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.192, allocations: 33.7 kB / 0.7297 GB, free: 4.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.1922, allocations: 220.5 kB / 0.7299 GB, free: 4.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.1923, allocations: 87.27 kB / 0.73 GB, free: 3.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.1924, allocations: 49.7 kB / 0.7301 GB, free: 3.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1925, allocations: 346.8 kB / 0.7304 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1927, allocations: 75.97 kB / 0.7305 GB, free: 3.453 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.193, allocations: 199.1 kB / 0.7307 GB, free: 3.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.1934, allocations: 207.4 kB / 0.7309 GB, free: 2.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1934, allocations: 0 / 0.7309 GB, free: 2.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005173/0.1939, allocations: 283.1 kB / 0.7311 GB, free: 2.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1939, allocations: 12.19 kB / 0.7311 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1939, allocations: 0 / 0.7311 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1939, allocations: 4 kB / 0.7312 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1942, allocations: 51.91 kB / 0.7312 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1942, allocations: 4 kB / 0.7312 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.1943, allocations: 31.83 kB / 0.7312 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1944, allocations: 12 kB / 0.7312 GB, free: 2.602 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.0001757/0.1945, allocations: 165.7 kB / 0.7314 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.1946, allocations: 35.75 kB / 0.7314 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.1947, allocations: 39.38 kB / 0.7315 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1947, allocations: 4 kB / 0.7315 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1947, allocations: 3.938 kB / 0.7315 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1947, allocations: 0 / 0.7315 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.1951, allocations: 281 kB / 0.7318 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1951, allocations: 0 / 0.7318 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1953, allocations: 47.91 kB / 0.7318 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1953, allocations: 4 kB / 0.7318 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1953, allocations: 3.938 kB / 0.7318 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1953, allocations: 0 / 0.7318 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1953, allocations: 8 kB / 0.7318 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.196, allocations: 429.3 kB / 0.7322 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1961, allocations: 51.77 kB / 0.7323 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.1962, allocations: 8 kB / 0.7323 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1963, allocations: 15.98 kB / 0.7323 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.1964, allocations: 15.97 kB / 0.7323 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1964, allocations: 7.984 kB / 0.7323 GB, free: 1.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002404/0.1967, allocations: 235.2 kB / 0.7325 GB, free: 1.219 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1967, allocations: 0 / 0.7325 GB, free: 1.219 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003266/0.197, allocations: 75.78 kB / 0.7326 GB, free: 1.145 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.0001239/0.1971, allocations: 105.7 kB / 0.7327 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.1976, allocations: 186 kB / 0.7329 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1976, allocations: 4 kB / 0.7329 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.1978, allocations: 99.83 kB / 0.733 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.1983, allocations: 77.33 kB / 0.7331 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1996, allocations: 0.7395 MB / 0.7338 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1998, allocations: 191.1 kB / 0.734 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.1999, allocations: 31.38 kB / 0.734 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.1999, allocations: 0 / 0.734 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.007104/0.207, allocations: 4.419 MB / 0.7383 GB, free: 11.27 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: 8.675505517981946] Failed to read output from testmodel.py, exit status != 0: 0.2155421837233007 0.539808981 0.351349554 Calling exit ...