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.001399/0.001399, allocations: 110.1 kB / 19.59 MB, free: 2.211 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.001279/0.001279, allocations: 217.7 kB / 22.88 MB, free: 4.582 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.328/1.328, allocations: 230.5 MB / 256.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.8571/0.8571, allocations: 144.9 MB / 457.8 MB, free: 15.58 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.001926/0.001926, allocations: 70.11 kB / 0.6339 GB, free: 6.992 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1497, allocations: 87.89 MB / 0.7197 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004151/0.1539, allocations: 3.023 MB / 0.7227 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1556, allocations: 0.978 MB / 0.7237 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.1559, allocations: 15.88 kB / 0.7237 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1561, allocations: 67.27 kB / 0.7237 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1564, allocations: 95.17 kB / 0.7238 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.1571, allocations: 230.4 kB / 0.724 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.1577, allocations: 0.4911 MB / 0.7245 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.1581, allocations: 150.2 kB / 0.7247 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.1584, allocations: 195.2 kB / 0.7248 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.1587, allocations: 175.1 kB / 0.725 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.1587, allocations: 44 kB / 0.7251 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.1588, allocations: 48 kB / 0.7251 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.1589, allocations: 95.61 kB / 0.7252 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.1591, allocations: 206.9 kB / 0.7254 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007483/0.1599, allocations: 0.5445 MB / 0.7259 GB, free: 8.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1599, allocations: 0 / 0.7259 GB, free: 8.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.205e-06/0.1599, allocations: 0 / 0.7259 GB, free: 8.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.1599, allocations: 4 kB / 0.7259 GB, free: 8.723 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.001279/0.1612, allocations: 0.6489 MB / 0.7266 GB, free: 8.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1612, allocations: 8.031 kB / 0.7266 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1614, allocations: 60.64 kB / 0.7266 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007409/0.1622, allocations: 346.8 kB / 0.727 GB, free: 7.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.1622, allocations: 25.03 kB / 0.727 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.1623, allocations: 24.38 kB / 0.727 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.1629, allocations: 422.7 kB / 0.7274 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1629, allocations: 0 / 0.7274 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.163, allocations: 16 kB / 0.7274 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.163, allocations: 8 kB / 0.7274 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.1635, allocations: 214.5 kB / 0.7276 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1651, allocations: 1.128 MB / 0.7287 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.1657, allocations: 230.7 kB / 0.729 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.1659, allocations: 108.8 kB / 0.7291 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1659, allocations: 4 kB / 0.7291 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.166, allocations: 34.94 kB / 0.7291 GB, free: 5.285 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.166, allocations: 8 kB / 0.7291 GB, free: 5.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006999/0.1667, allocations: 292 kB / 0.7294 GB, free: 4.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.1667, allocations: 110.8 kB / 0.7295 GB, free: 4.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.1671, allocations: 349.6 kB / 0.7298 GB, free: 4.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1671, allocations: 25.7 kB / 0.7298 GB, free: 4.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1673, allocations: 228.5 kB / 0.7301 GB, free: 4.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.1674, allocations: 83.27 kB / 0.7301 GB, free: 4.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.1675, allocations: 53.7 kB / 0.7302 GB, free: 4.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1676, allocations: 346.8 kB / 0.7305 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1678, allocations: 67.97 kB / 0.7306 GB, free: 3.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.168, allocations: 199.1 kB / 0.7308 GB, free: 3.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1684, allocations: 209.8 kB / 0.731 GB, free: 3.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1684, allocations: 4 kB / 0.731 GB, free: 3.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005286/0.169, allocations: 281.1 kB / 0.7313 GB, free: 2.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.169, allocations: 8 kB / 0.7313 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.169, allocations: 0 / 0.7313 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.169, allocations: 8.188 kB / 0.7313 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.1692, allocations: 55.91 kB / 0.7313 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1692, allocations: 7.938 kB / 0.7313 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.1694, allocations: 35.77 kB / 0.7314 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.1694, allocations: 8 kB / 0.7314 GB, free: 2.828 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.00017/0.1696, allocations: 161.7 kB / 0.7315 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.1696, allocations: 35.77 kB / 0.7316 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.1697, allocations: 47.44 kB / 0.7316 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.1697, allocations: 4 kB / 0.7316 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1697, allocations: 0 / 0.7316 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1697, allocations: 0 / 0.7316 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.1702, allocations: 372.3 kB / 0.732 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1702, allocations: 0 / 0.732 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1704, allocations: 35.98 kB / 0.732 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1704, allocations: 3.984 kB / 0.732 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1704, allocations: 4 kB / 0.732 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1704, allocations: 4 kB / 0.732 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1704, allocations: 4 kB / 0.732 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.1711, allocations: 430.3 kB / 0.7324 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.1712, allocations: 51.72 kB / 0.7325 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.1712, allocations: 11.98 kB / 0.7325 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1714, allocations: 15.98 kB / 0.7325 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.1714, allocations: 20.03 kB / 0.7325 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1714, allocations: 4 kB / 0.7325 GB, free: 1.582 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002384/0.1717, allocations: 243.2 kB / 0.7328 GB, free: 1.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1717, allocations: 4 kB / 0.7328 GB, free: 1.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002918/0.172, allocations: 63.83 kB / 0.7328 GB, free: 1.281 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.0001096/0.1721, allocations: 103.2 kB / 0.7329 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.1725, allocations: 198.8 kB / 0.7331 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1725, allocations: 0 / 0.7331 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.1727, allocations: 99.83 kB / 0.7332 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.1732, allocations: 85.53 kB / 0.7333 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1745, allocations: 0.7521 MB / 0.734 GB, free: 20 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.1746, allocations: 187.1 kB / 0.7342 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.1747, allocations: 31.42 kB / 0.7342 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1747, allocations: 0 / 0.7342 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.006558/0.1813, allocations: 4.275 MB / 0.7384 GB, free: 11.53 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.704881531652063] Failed to read output from testmodel.py, exit status != 0: 0.18912486685439944 0.443441709 0.280741177 Calling exit ...