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.001259/0.001259, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.001062/0.001062, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.239/1.239, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 290.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8721/0.8721, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 90.48 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1503, allocations: 86.98 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002268/0.1526, allocations: 1.258 MB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1538, allocations: 0.8498 MB / 0.6829 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.1539, allocations: 3.938 kB / 0.6829 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.1539, allocations: 3.984 kB / 0.6829 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.154, allocations: 7.922 kB / 0.6829 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.1544, allocations: 139.5 kB / 0.683 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.1545, allocations: 23.92 kB / 0.6831 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.1545, allocations: 7.984 kB / 0.6831 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.1546, allocations: 15.94 kB / 0.6831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.1547, allocations: 11.92 kB / 0.6831 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1547, allocations: 4 kB / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.155, allocations: 155.8 kB / 0.6832 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.155, allocations: 4 kB / 0.6832 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.155, allocations: 15.91 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1553, allocations: 128 kB / 0.6834 GB, free: 5.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1553, allocations: 3.938 kB / 0.6834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1553, allocations: 4 kB / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1553, allocations: 0 / 0.6834 GB, free: 5.551 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.0003755/0.1557, allocations: 355.4 kB / 0.6837 GB, free: 5.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1557, allocations: 8.031 kB / 0.6837 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1557, allocations: 0.9375 kB / 0.6837 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1559, allocations: 172.2 kB / 0.6839 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1559, allocations: 384 / 0.6839 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.1559, allocations: 4.375 kB / 0.6839 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.485e-05/0.156, allocations: 49.98 kB / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.156, allocations: 4 kB / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.156, allocations: 0 / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.156, allocations: 0 / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.1561, allocations: 27.97 kB / 0.684 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.1562, allocations: 153.7 kB / 0.6841 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.1563, allocations: 46.56 kB / 0.6842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.1564, allocations: 20.84 kB / 0.6842 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.1565, allocations: 89.22 kB / 0.6843 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1565, allocations: 34.5 kB / 0.6843 GB, free: 4.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.435e-06/0.1565, allocations: 0 / 0.6843 GB, free: 4.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001667/0.1567, allocations: 65.62 kB / 0.6844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1567, allocations: 55.41 kB / 0.6844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.1568, allocations: 97.84 kB / 0.6845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1568, allocations: 29.83 kB / 0.6845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.1569, allocations: 88.08 kB / 0.6846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1569, allocations: 15.75 kB / 0.6846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1569, allocations: 21.7 kB / 0.6847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.157, allocations: 310.8 kB / 0.685 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.1571, allocations: 12 kB / 0.685 GB, free: 3.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.1571, allocations: 7.984 kB / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.1571, allocations: 29.23 kB / 0.685 GB, free: 3.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1571, allocations: 4 kB / 0.685 GB, free: 3.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.57e-05/0.1572, allocations: 57.59 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1573, allocations: 10.28 kB / 0.6851 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1573, allocations: 0 / 0.6851 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1573, allocations: 4 kB / 0.6851 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.1574, allocations: 11.94 kB / 0.6851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1574, allocations: 4 kB / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.1574, allocations: 0 / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1574, allocations: 0 / 0.6851 GB, free: 3.559 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.556e-05/0.1575, allocations: 117.8 kB / 0.6852 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.1575, allocations: 3.938 kB / 0.6852 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.1577, allocations: 85.17 kB / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1577, allocations: 0 / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1577, allocations: 0 / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1577, allocations: 0 / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.1578, allocations: 165.6 kB / 0.6855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1578, allocations: 3.938 kB / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.1579, allocations: 11.98 kB / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1579, allocations: 7.938 kB / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1579, allocations: 0 / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1579, allocations: 0 / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1579, allocations: 0 / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.158, allocations: 85.31 kB / 0.6856 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.1581, allocations: 85.05 kB / 0.6856 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1581, allocations: 4 kB / 0.6856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.1581, allocations: 7.938 kB / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.1582, allocations: 3.984 kB / 0.6857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1582, allocations: 4 kB / 0.6857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.951e-05/0.1582, allocations: 83.22 kB / 0.6857 GB, free: 2.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1582, allocations: 0 / 0.6857 GB, free: 2.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1584, allocations: 51.92 kB / 0.6858 GB, free: 2.746 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.0002316/0.1587, allocations: 155.2 kB / 0.6859 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.982e-05/0.1588, allocations: 27.98 kB / 0.686 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1588, allocations: 0 / 0.686 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.1588, allocations: 23.92 kB / 0.686 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.159, allocations: 0 / 0.686 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.1593, allocations: 144.4 kB / 0.6861 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1595, allocations: 0.6845 MB / 0.6868 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1595, allocations: 15.44 kB / 0.6868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1595, allocations: 0 / 0.6868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of Templates: time 0.002581/0.1621, allocations: 1.194 MB / 0.688 GB, free: 456 kB / 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)