Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001321/0.001321, allocations: 71.77 kB / 20.51 MB, free: 1.121 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.001617/0.001617, allocations: 161.5 kB / 23.76 MB, free: 4.191 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.416/1.416, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9183/0.9183, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: IBPSA 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.002097/0.002097, allocations: 71.25 kB / 0.555 GB, free: 2.754 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1582, allocations: 89.15 MB / 0.6421 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004385/0.1625, allocations: 2.799 MB / 0.6448 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1646, allocations: 0.9313 MB / 0.6457 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1648, allocations: 27.81 kB / 0.6457 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1651, allocations: 67.27 kB / 0.6458 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1653, allocations: 91.17 kB / 0.6459 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1658, allocations: 221.9 kB / 0.6461 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.1664, allocations: 0.4914 MB / 0.6466 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.1666, allocations: 146.2 kB / 0.6467 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.1669, allocations: 199.1 kB / 0.6469 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1671, allocations: 155.1 kB / 0.6471 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.1672, allocations: 44 kB / 0.6471 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.1673, allocations: 48 kB / 0.6471 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.1674, allocations: 95.62 kB / 0.6472 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1675, allocations: 155.1 kB / 0.6474 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.1681, allocations: 0.5251 MB / 0.6479 GB, free: 3.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1681, allocations: 0 / 0.6479 GB, free: 3.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1681, allocations: 4 kB / 0.6479 GB, free: 3.566 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.1682, allocations: 0 / 0.6479 GB, free: 3.566 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.001114/0.1693, allocations: 0.645 MB / 0.6485 GB, free: 2.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1693, allocations: 12.03 kB / 0.6485 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1695, allocations: 64.59 kB / 0.6486 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.1702, allocations: 341.5 kB / 0.6489 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1702, allocations: 21.03 kB / 0.649 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.1702, allocations: 28.38 kB / 0.649 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.1709, allocations: 422.7 kB / 0.6494 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1709, allocations: 7.984 kB / 0.6494 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.1709, allocations: 12 kB / 0.6494 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1709, allocations: 8 kB / 0.6494 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.1714, allocations: 214.5 kB / 0.6496 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.1728, allocations: 0.9578 MB / 0.6506 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.1734, allocations: 222.7 kB / 0.6508 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1736, allocations: 108.8 kB / 0.6509 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1737, allocations: 0 / 0.6509 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1737, allocations: 38.5 kB / 0.6509 GB, free: 336 kB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.032e-06/0.1737, allocations: 4 kB / 0.6509 GB, free: 332 kB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006817/0.1744, allocations: 295.8 kB / 0.6512 GB, free: 32 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.1745, allocations: 106.8 kB / 0.6513 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.1748, allocations: 337.7 kB / 0.6516 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.1749, allocations: 25.7 kB / 0.6516 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.175, allocations: 228.4 kB / 0.6519 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.1751, allocations: 79.33 kB / 0.6519 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.1752, allocations: 57.64 kB / 0.652 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1753, allocations: 342.8 kB / 0.6523 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.1755, allocations: 75.97 kB / 0.6524 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.1758, allocations: 203 kB / 0.6526 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1762, allocations: 206 kB / 0.6528 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1762, allocations: 0 / 0.6528 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005218/0.1767, allocations: 288.4 kB / 0.6531 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1768, allocations: 6.188 kB / 0.6531 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1768, allocations: 4 kB / 0.6531 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1768, allocations: 8.188 kB / 0.6531 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.177, allocations: 55.91 kB / 0.6531 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.177, allocations: 4 kB / 0.6531 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.1772, allocations: 31.81 kB / 0.6532 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1772, allocations: 8 kB / 0.6532 GB, free: 13.89 MB / 0.5606 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.0001677/0.1774, allocations: 165.8 kB / 0.6533 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.1775, allocations: 39.7 kB / 0.6534 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.1776, allocations: 39.38 kB / 0.6534 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1776, allocations: 8 kB / 0.6534 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1776, allocations: 0 / 0.6534 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1776, allocations: 0 / 0.6534 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.1779, allocations: 285 kB / 0.6537 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1779, allocations: 0 / 0.6537 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1782, allocations: 47.84 kB / 0.6537 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1782, allocations: 0 / 0.6537 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1782, allocations: 8 kB / 0.6537 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1782, allocations: 0 / 0.6537 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1782, allocations: 0 / 0.6537 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.1789, allocations: 428.2 kB / 0.6541 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.179, allocations: 59.66 kB / 0.6542 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.179, allocations: 8 kB / 0.6542 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1792, allocations: 11.98 kB / 0.6542 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.1793, allocations: 19.97 kB / 0.6542 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1793, allocations: 7.984 kB / 0.6542 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002391/0.1795, allocations: 231.2 kB / 0.6545 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1795, allocations: 0 / 0.6545 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003323/0.1799, allocations: 71.89 kB / 0.6545 GB, free: 12.43 MB / 0.5606 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.0001115/0.18, allocations: 107.1 kB / 0.6546 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.1804, allocations: 192.9 kB / 0.6548 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1804, allocations: 0 / 0.6548 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.1806, allocations: 96.27 kB / 0.6549 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.1812, allocations: 83.77 kB / 0.655 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1824, allocations: 0.707 MB / 0.6557 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.1826, allocations: 191.1 kB / 0.6559 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.1828, allocations: 30.97 kB / 0.6559 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.1828, allocations: 32.48 kB / 0.6559 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.1828, allocations: 4 kB / 0.6559 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.007706/0.1905, allocations: 3.281 MB / 0.6591 GB, free: 7.746 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.416982564027421] Failed to read output from testmodel.py, exit status != 0: 0.19882575108204037 0.212850375 0.041669601 Calling exit ...