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.001021/0.001021, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009621/0.0009619, allocations: 189.7 kB / 16.25 MB, free: 6.625 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001949/0.001949, allocations: 282.9 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9278/0.9278, allocations: 169.2 MB / 0.4978 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 90.75 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1631, allocations: 86.98 MB / 0.6796 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002366/0.1655, allocations: 1.317 MB / 0.6809 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1667, allocations: 0.8616 MB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.1668, allocations: 1.312 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1668, allocations: 3.984 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.1669, allocations: 3.938 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.1673, allocations: 128.4 kB / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.1673, allocations: 23.92 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.1674, allocations: 0 / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.1674, allocations: 11.98 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.1675, allocations: 19.92 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1675, allocations: 0 / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1678, allocations: 155.8 kB / 0.6821 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.1678, allocations: 11.97 kB / 0.6821 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.1678, allocations: 11.94 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.168, allocations: 124 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.168, allocations: 4 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.168, allocations: 0 / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.168, allocations: 0 / 0.6822 GB, free: 14.46 MB / 494.1 MB 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.0003654/0.1684, allocations: 351.5 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1684, allocations: 12.03 kB / 0.6826 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.1685, allocations: 8.781 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1686, allocations: 164.4 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1686, allocations: 4.375 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1686, allocations: 4.375 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.1687, allocations: 54 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1688, allocations: 0 / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1688, allocations: 0 / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1688, allocations: 0 / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.1689, allocations: 31.95 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.169, allocations: 161.6 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.1691, allocations: 42.56 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.1691, allocations: 12.98 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.1693, allocations: 89.11 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1693, allocations: 42.42 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1693, allocations: 0 / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001863/0.1695, allocations: 65.62 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1695, allocations: 51.41 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.1696, allocations: 97.86 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1696, allocations: 25.7 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.1697, allocations: 84.27 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1697, allocations: 23.73 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1698, allocations: 13.72 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1699, allocations: 314.8 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.1699, allocations: 7.984 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.1699, allocations: 12 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.17, allocations: 20.86 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.17, allocations: 0 / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.964e-05/0.1701, allocations: 69.53 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1701, allocations: 10.28 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1701, allocations: 0 / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1701, allocations: 0 / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.1702, allocations: 12.42 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1702, allocations: 0 / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.1702, allocations: 4 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1703, allocations: 8 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB 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 6.782e-05/0.1703, allocations: 111.2 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.1704, allocations: 11.94 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.1706, allocations: 81.16 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1706, allocations: 4 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1706, allocations: 0 / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1706, allocations: 0 / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1707, allocations: 165.6 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1707, allocations: 7.984 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.1708, allocations: 8 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1708, allocations: 3.938 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1708, allocations: 4 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1708, allocations: 0 / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1708, allocations: 0 / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.1709, allocations: 89.06 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.171, allocations: 88.97 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.171, allocations: 0 / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.171, allocations: 11.94 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.171, allocations: 4 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1711, allocations: 0 / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.1711, allocations: 79.28 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1711, allocations: 0 / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1713, allocations: 51.92 kB / 0.6846 GB, free: 11.65 MB / 494.1 MB 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.0002625/0.1716, allocations: 159.1 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1717, allocations: 32.03 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1718, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.1718, allocations: 15.98 kB / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1719, allocations: 8 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.1722, allocations: 130.6 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1726, allocations: 0.6768 MB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.1726, allocations: 12 kB / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.1727, allocations: 15.44 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1727, allocations: 3.938 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of Templates: time 0.003412/0.1761, allocations: 1.188 MB / 0.6868 GB, free: 9.359 MB / 494.1 MB 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)