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.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001451/0.001451, allocations: 213.8 kB / 22.25 MB, free: 5.262 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.793 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.9046/0.9046, allocations: 145 MB / 457.4 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.002062/0.002062, allocations: 74.47 kB / 0.6335 GB, free: 6.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1925, allocations: 87.88 MB / 0.7194 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004658/0.1972, allocations: 2.828 MB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1989, allocations: 0.9313 MB / 0.723 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.1991, allocations: 23.88 kB / 0.7231 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1993, allocations: 67.33 kB / 0.7231 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1995, allocations: 91.17 kB / 0.7232 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.2, allocations: 219.6 kB / 0.7234 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005336/0.2006, allocations: 0.5028 MB / 0.7239 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.2009, allocations: 142.2 kB / 0.724 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.2012, allocations: 191.2 kB / 0.7242 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.2014, allocations: 155.1 kB / 0.7244 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.2014, allocations: 44 kB / 0.7244 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.2015, allocations: 48 kB / 0.7245 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.2016, allocations: 91.64 kB / 0.7245 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2018, allocations: 159.1 kB / 0.7247 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.2024, allocations: 0.5446 MB / 0.7252 GB, free: 8.316 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2024, allocations: 0 / 0.7252 GB, free: 8.316 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2024, allocations: 4 kB / 0.7252 GB, free: 8.312 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2024, allocations: 3.938 kB / 0.7252 GB, free: 8.309 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.001103/0.2035, allocations: 0.6527 MB / 0.7259 GB, free: 7.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2035, allocations: 12.03 kB / 0.7259 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.2037, allocations: 56.66 kB / 0.7259 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.2043, allocations: 349.4 kB / 0.7263 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2044, allocations: 25.03 kB / 0.7263 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.2044, allocations: 28.38 kB / 0.7263 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.205, allocations: 418.7 kB / 0.7267 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2051, allocations: 4 kB / 0.7267 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.2051, allocations: 12 kB / 0.7267 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2051, allocations: 8 kB / 0.7267 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.2056, allocations: 214.5 kB / 0.727 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.207, allocations: 0.9578 MB / 0.7279 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.2076, allocations: 230.7 kB / 0.7281 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.2078, allocations: 104.8 kB / 0.7282 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2078, allocations: 3.938 kB / 0.7282 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2079, allocations: 42.56 kB / 0.7283 GB, free: 5.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.2079, allocations: 0 / 0.7283 GB, free: 5.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006808/0.2085, allocations: 294.9 kB / 0.7285 GB, free: 4.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.2086, allocations: 102.8 kB / 0.7286 GB, free: 4.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.209, allocations: 333.7 kB / 0.729 GB, free: 4.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.209, allocations: 29.7 kB / 0.729 GB, free: 4.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.2092, allocations: 224.5 kB / 0.7292 GB, free: 4.051 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.2093, allocations: 79.33 kB / 0.7293 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.2094, allocations: 53.7 kB / 0.7293 GB, free: 3.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2096, allocations: 346.8 kB / 0.7297 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.2097, allocations: 71.97 kB / 0.7297 GB, free: 3.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.21, allocations: 195.1 kB / 0.7299 GB, free: 3.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.2104, allocations: 215.8 kB / 0.7301 GB, free: 3.035 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2104, allocations: 0 / 0.7301 GB, free: 3.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005111/0.2109, allocations: 283.1 kB / 0.7304 GB, free: 2.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2109, allocations: 10.12 kB / 0.7304 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2109, allocations: 4.188 kB / 0.7304 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2109, allocations: 4 kB / 0.7304 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2112, allocations: 51.91 kB / 0.7304 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2112, allocations: 7.938 kB / 0.7305 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.2113, allocations: 31.83 kB / 0.7305 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2114, allocations: 12 kB / 0.7305 GB, free: 2.637 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.000164/0.2115, allocations: 161.7 kB / 0.7307 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.2116, allocations: 39.73 kB / 0.7307 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/0.2117, allocations: 35.38 kB / 0.7307 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2117, allocations: 8 kB / 0.7307 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2117, allocations: 0 / 0.7307 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2117, allocations: 0 / 0.7307 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.2121, allocations: 285 kB / 0.731 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2121, allocations: 0 / 0.731 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.2123, allocations: 47.91 kB / 0.731 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2123, allocations: 0 / 0.731 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.2123, allocations: 8 kB / 0.7311 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2123, allocations: 0 / 0.7311 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2123, allocations: 0 / 0.7311 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.213, allocations: 439.2 kB / 0.7315 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2132, allocations: 47.77 kB / 0.7315 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.2132, allocations: 8 kB / 0.7315 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2134, allocations: 15.98 kB / 0.7315 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.2134, allocations: 19.97 kB / 0.7316 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2134, allocations: 7.938 kB / 0.7316 GB, free: 1.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002449/0.2137, allocations: 235.2 kB / 0.7318 GB, free: 1.254 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2137, allocations: 64 / 0.7318 GB, free: 1.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003126/0.214, allocations: 75.78 kB / 0.7319 GB, free: 1.18 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.0001173/0.2141, allocations: 103.2 kB / 0.732 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.2146, allocations: 188.4 kB / 0.7321 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2146, allocations: 0 / 0.7321 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.2148, allocations: 106.5 kB / 0.7322 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.2153, allocations: 74.36 kB / 0.7323 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2166, allocations: 0.7144 MB / 0.733 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2168, allocations: 187.1 kB / 0.7332 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.217, allocations: 46.89 kB / 0.7332 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.217, allocations: 27.42 kB / 0.7333 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.217, allocations: 0 / 0.7333 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.008009/0.225, allocations: 3.648 MB / 0.7368 GB, free: 12.13 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: 6.150025280192494] Failed to read output from testmodel.py, exit status != 0: 0.23322724923491478 0.532643148 0.041060625 Calling exit ...