Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 187.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002455/0.002455, allocations: 285.4 kB / 307 MB, free: 8.375 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.217/1.217, allocations: 180.8 MB / 0.5304 GB, free: 14.38 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002884/0.002884, allocations: 105.4 kB / 0.731 GB, free: 38.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 94.2 MB / 0.823 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.00295/0.1757, allocations: 1.25 MB / 0.8243 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1775, allocations: 0.8822 MB / 0.8251 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.1775, allocations: 4 kB / 0.8251 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.1775, allocations: 0 / 0.8251 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.1776, allocations: 7.938 kB / 0.8251 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.1782, allocations: 131.5 kB / 0.8253 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.057e-05/0.1783, allocations: 27.75 kB / 0.8253 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.1783, allocations: 8 kB / 0.8253 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1784, allocations: 23.91 kB / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.1785, allocations: 11.94 kB / 0.8253 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1785, allocations: 4 kB / 0.8253 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.1789, allocations: 159.8 kB / 0.8255 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.1789, allocations: 4 kB / 0.8255 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1789, allocations: 11.92 kB / 0.8255 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1792, allocations: 123.7 kB / 0.8256 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1792, allocations: 3.938 kB / 0.8256 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1792, allocations: 0 / 0.8256 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1792, allocations: 4 kB / 0.8256 GB, free: 15.38 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004397/0.1796, allocations: 286 kB / 0.8259 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1797, allocations: 8.031 kB / 0.8259 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.1797, allocations: 8.875 kB / 0.8259 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1798, allocations: 106.5 kB / 0.826 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1798, allocations: 384 / 0.826 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1798, allocations: 4.375 kB / 0.826 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.18, allocations: 46 kB / 0.8261 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.18, allocations: 0 / 0.8261 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.18, allocations: 7.984 kB / 0.8261 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.18, allocations: 0 / 0.8261 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.18, allocations: 23.98 kB / 0.8261 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.1802, allocations: 136.8 kB / 0.8262 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.1803, allocations: 38.5 kB / 0.8263 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.1804, allocations: 8.859 kB / 0.8263 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.1805, allocations: 16.11 kB / 0.8263 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.1805, allocations: 38.5 kB / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1805, allocations: 0 / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002017/0.1807, allocations: 69.64 kB / 0.8264 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1808, allocations: 51.41 kB / 0.8264 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.1808, allocations: 93.86 kB / 0.8265 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1809, allocations: 33.64 kB / 0.8266 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.1809, allocations: 88.11 kB / 0.8266 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1809, allocations: 11.91 kB / 0.8266 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.181, allocations: 17.72 kB / 0.8267 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1811, allocations: 319 kB / 0.827 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.1812, allocations: 12 kB / 0.827 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.1812, allocations: 4 kB / 0.827 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.221e-05/0.1812, allocations: 28.8 kB / 0.827 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1812, allocations: 0 / 0.827 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001125/0.1814, allocations: 57.69 kB / 0.8271 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1814, allocations: 7.938 kB / 0.8271 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1814, allocations: 3.984 kB / 0.8271 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1814, allocations: 3.984 kB / 0.8271 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.1815, allocations: 11.94 kB / 0.8271 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1815, allocations: 8 kB / 0.8271 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.1815, allocations: 7.891 kB / 0.8271 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1815, allocations: 0 / 0.8271 GB, free: 13.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001024/0.1816, allocations: 110.5 kB / 0.8272 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.1816, allocations: 3.938 kB / 0.8272 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.1818, allocations: 85.86 kB / 0.8273 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1818, allocations: 0 / 0.8273 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1819, allocations: 8.047 kB / 0.8273 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1819, allocations: 3.938 kB / 0.8273 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.182, allocations: 128.8 kB / 0.8274 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.182, allocations: 3.938 kB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.182, allocations: 8 kB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1821, allocations: 11.92 kB / 0.8275 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1821, allocations: 0 / 0.8275 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1821, allocations: 0 / 0.8275 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1821, allocations: 0 / 0.8275 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1822, allocations: 97.06 kB / 0.8276 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.1822, allocations: 7.938 kB / 0.8276 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1822, allocations: 4 kB / 0.8276 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.1823, allocations: 0 / 0.8276 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.1823, allocations: 3.938 kB / 0.8276 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1823, allocations: 11.98 kB / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.1823, allocations: 79.28 kB / 0.8277 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1823, allocations: 0 / 0.8277 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000263/0.1826, allocations: 47.81 kB / 0.8277 GB, free: 12.99 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000302/0.1829, allocations: 162.9 kB / 0.8279 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.183, allocations: 23.98 kB / 0.8279 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.183, allocations: 0 / 0.8279 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.1831, allocations: 19.94 kB / 0.8279 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1832, allocations: 3.469 kB / 0.8279 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.1835, allocations: 135 kB / 0.828 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1838, allocations: 0.6768 MB / 0.8287 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.1838, allocations: 15.89 kB / 0.8287 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.1839, allocations: 15.42 kB / 0.8287 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1839, allocations: 4 kB / 0.8287 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.003881/0.1878, allocations: 1.205 MB / 0.8299 GB, free: 10.68 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.918407779994595] Failed to read output from testmodel.py, exit status != 0: 0.19500427799357567 0.21050385500000002 0.028241489 Calling exit ...