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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 187 kB / 16.66 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 282.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 92.23 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.173, allocations: 86.97 MB / 0.7663 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002767/0.1758, allocations: 1.262 MB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1773, allocations: 0.8574 MB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.1774, allocations: 4 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.1774, allocations: 3.938 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.1775, allocations: 3.938 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.178, allocations: 141.8 kB / 0.7685 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.1781, allocations: 23.92 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.1781, allocations: 7.984 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.1782, allocations: 15.98 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.1783, allocations: 15.92 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1783, allocations: 0 / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1786, allocations: 167.8 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1786, allocations: 0 / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.1787, allocations: 7.938 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1789, allocations: 135.6 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1789, allocations: 0 / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1789, allocations: 0 / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1789, allocations: 4 kB / 0.7689 GB, free: 5.809 MB / 0.5606 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.0004521/0.1794, allocations: 359.2 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1794, allocations: 8.031 kB / 0.7693 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.1795, allocations: 4.938 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1796, allocations: 164.3 kB / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1797, allocations: 384 / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1797, allocations: 4.375 kB / 0.7694 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1798, allocations: 46 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1798, allocations: 4 kB / 0.7695 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1798, allocations: 0 / 0.7695 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1798, allocations: 3.938 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.1799, allocations: 31.91 kB / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.1801, allocations: 161.7 kB / 0.7697 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.1802, allocations: 38.56 kB / 0.7697 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.1802, allocations: 12.86 kB / 0.7697 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.1804, allocations: 93.2 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1804, allocations: 42.5 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1804, allocations: 0 / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002254/0.1807, allocations: 69.58 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1807, allocations: 51.41 kB / 0.77 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.1808, allocations: 97.8 kB / 0.7701 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1808, allocations: 29.7 kB / 0.7701 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.1808, allocations: 80.14 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1809, allocations: 12.02 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.1809, allocations: 25.72 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.181, allocations: 310.8 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.1811, allocations: 11.98 kB / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.1811, allocations: 4 kB / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.1811, allocations: 28.86 kB / 0.7705 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1812, allocations: 384 / 0.7705 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.419e-05/0.1813, allocations: 61.62 kB / 0.7706 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1813, allocations: 11.94 kB / 0.7706 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1813, allocations: 4 kB / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.1813, allocations: 3.984 kB / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.1814, allocations: 11.98 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1814, allocations: 0 / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.1814, allocations: 7.891 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1815, allocations: 4 kB / 0.7706 GB, free: 3.805 MB / 0.5606 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.105e-05/0.1815, allocations: 106.5 kB / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1816, allocations: 3.938 kB / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.1817, allocations: 89.17 kB / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1817, allocations: 0 / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1818, allocations: 0 / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1818, allocations: 7.984 kB / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.1819, allocations: 153.7 kB / 0.771 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1819, allocations: 4 kB / 0.771 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.182, allocations: 8 kB / 0.771 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.182, allocations: 3.938 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.182, allocations: 4 kB / 0.771 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.182, allocations: 0 / 0.771 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.182, allocations: 4 kB / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.1821, allocations: 93 kB / 0.7711 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.1822, allocations: 88.98 kB / 0.7712 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1822, allocations: 0 / 0.7712 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.1822, allocations: 0 / 0.7712 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.1822, allocations: 4 kB / 0.7712 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1822, allocations: 8.125 kB / 0.7712 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.1823, allocations: 87.27 kB / 0.7713 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1823, allocations: 0 / 0.7713 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002459/0.1825, allocations: 43.81 kB / 0.7713 GB, free: 3.012 MB / 0.5606 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.0002545/0.1828, allocations: 159 kB / 0.7715 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1829, allocations: 35.92 kB / 0.7715 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1829, allocations: 0 / 0.7715 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.183, allocations: 20.09 kB / 0.7715 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1831, allocations: 0 / 0.7715 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.1834, allocations: 130.6 kB / 0.7716 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1837, allocations: 0.6845 MB / 0.7723 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.1837, allocations: 11.98 kB / 0.7723 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.1837, allocations: 11.44 kB / 0.7723 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1838, allocations: 4 kB / 0.7723 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of Templates: time 0.00347/0.1872, allocations: 1.182 MB / 0.7735 GB, free: 0.7148 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile (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)