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.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.001254/0.001254, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001388/0.001388, allocations: 222.9 kB / 23 MB, free: 4.91 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002482/0.002482, allocations: 287.8 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.174/1.174, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.002895/0.002895, allocations: 93.73 kB / 0.7407 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1747, allocations: 95.39 MB / 0.8338 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.00259/0.1773, allocations: 1.263 MB / 0.8351 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1788, allocations: 0.8472 MB / 0.8359 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.1789, allocations: 7.938 kB / 0.8359 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.1789, allocations: 3.938 kB / 0.8359 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.663e-05/0.1789, allocations: 7.984 kB / 0.8359 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.1794, allocations: 139.5 kB / 0.836 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1794, allocations: 27.86 kB / 0.8361 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.1795, allocations: 3.984 kB / 0.8361 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1796, allocations: 23.92 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.1797, allocations: 19.92 kB / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1797, allocations: 0 / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.18, allocations: 163.8 kB / 0.8363 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.18, allocations: 0 / 0.8363 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.18, allocations: 11.94 kB / 0.8363 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1803, allocations: 131.6 kB / 0.8364 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1803, allocations: 4 kB / 0.8364 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1803, allocations: 0 / 0.8364 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1803, allocations: 3.938 kB / 0.8364 GB, free: 5.23 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.0004206/0.1807, allocations: 286 kB / 0.8367 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1807, allocations: 13.34 kB / 0.8367 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.1808, allocations: 4.938 kB / 0.8367 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.181, allocations: 106.5 kB / 0.8368 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.181, allocations: 4.375 kB / 0.8368 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.181, allocations: 384 / 0.8368 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1811, allocations: 53.92 kB / 0.8369 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1811, allocations: 0 / 0.8369 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1811, allocations: 0 / 0.8369 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1811, allocations: 3.984 kB / 0.8369 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/0.1812, allocations: 23.98 kB / 0.8369 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.1813, allocations: 117.2 kB / 0.837 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.1814, allocations: 34.62 kB / 0.837 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.1814, allocations: 16.92 kB / 0.8371 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.1815, allocations: 8 kB / 0.8371 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1816, allocations: 30.56 kB / 0.8371 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.1816, allocations: 0 / 0.8371 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001887/0.1818, allocations: 73.61 kB / 0.8372 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1819, allocations: 55.41 kB / 0.8372 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.1819, allocations: 89.86 kB / 0.8373 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.182, allocations: 25.83 kB / 0.8373 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.182, allocations: 92.12 kB / 0.8374 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1821, allocations: 11.91 kB / 0.8374 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1821, allocations: 21.7 kB / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1823, allocations: 314.8 kB / 0.8377 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.1823, allocations: 7.938 kB / 0.8378 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.1823, allocations: 19.86 kB / 0.8378 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.1824, allocations: 25.23 kB / 0.8378 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1824, allocations: 4 kB / 0.8378 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.731e-05/0.1825, allocations: 57.64 kB / 0.8379 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1825, allocations: 8 kB / 0.8379 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1825, allocations: 7.938 kB / 0.8379 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1825, allocations: 0 / 0.8379 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.1826, allocations: 8 kB / 0.8379 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1826, allocations: 7.922 kB / 0.8379 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.1826, allocations: 0 / 0.8379 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1826, allocations: 4 kB / 0.8379 GB, free: 3.555 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 7.96e-05/0.1827, allocations: 110.5 kB / 0.838 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1827, allocations: 4 kB / 0.838 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1829, allocations: 85.3 kB / 0.8381 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1829, allocations: 4 kB / 0.8381 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1829, allocations: 0 / 0.8381 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1829, allocations: 0 / 0.8381 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.183, allocations: 113.3 kB / 0.8382 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.183, allocations: 0 / 0.8382 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.1831, allocations: 11.94 kB / 0.8382 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1831, allocations: 0 / 0.8382 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1831, allocations: 0 / 0.8382 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1831, allocations: 7.938 kB / 0.8382 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1831, allocations: 4 kB / 0.8382 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1832, allocations: 89.11 kB / 0.8383 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.1832, allocations: 0 / 0.8383 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1832, allocations: 192 / 0.8383 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.1833, allocations: 11.94 kB / 0.8383 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.1833, allocations: 4 kB / 0.8383 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1833, allocations: 4 kB / 0.8383 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.1833, allocations: 79.27 kB / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1833, allocations: 0 / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002561/0.1836, allocations: 51.81 kB / 0.8384 GB, free: 2.918 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.0002539/0.1838, allocations: 167 kB / 0.8386 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.947e-05/0.1839, allocations: 27.98 kB / 0.8386 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1839, allocations: 4 kB / 0.8386 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.184, allocations: 15.94 kB / 0.8386 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.1841, allocations: 10.12 kB / 0.8387 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.1844, allocations: 144.6 kB / 0.8388 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.998e-05/0.1845, allocations: 63.34 kB / 0.8389 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.1845, allocations: 11.44 kB / 0.8389 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of SimCode: time 6.12e-07/0.1845, allocations: 7.938 kB / 0.8389 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of Templates: time 0.002918/0.1874, allocations: 1.241 MB / 0.8401 GB, free: 1.176 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.774135801941156] Failed to read output from testmodel.py, exit status != 0: 0.19493118207901716 0.209333561 0.026124550000000003 Calling exit ...