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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8045/0.8045, allocations: 143.4 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 184.7 kB / 191.5 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009192, allocations: 92.27 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 263.4 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003969, allocations: 14.02 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6211, allocations: 110.2 MB / 0.8813 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.6214, allocations: 79.81 kB / 0.8814 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008935/0.6303, allocations: 3.176 MB / 0.8845 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6304, allocations: 0 / 0.8845 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.6304, allocations: 2.969 kB / 0.8845 GB, free: 107.9 MB / 0.5417 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.0003187/0.6307, allocations: 355.1 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6308, allocations: 11.72 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.6308, allocations: 4.625 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.6309, allocations: 172.2 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.6309, allocations: 2.75 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.6309, allocations: 2.594 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.631, allocations: 44.78 kB / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6311, allocations: 2.625 kB / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.6311, allocations: 0 / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6311, allocations: 0 / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.6312, allocations: 31.59 kB / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.6313, allocations: 161.6 kB / 0.8853 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.6314, allocations: 39.44 kB / 0.8853 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.6315, allocations: 86.5 kB / 0.8854 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.6315, allocations: 39.09 kB / 0.8854 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.6315, allocations: 0 / 0.8854 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001753/0.6317, allocations: 62.17 kB / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.6318, allocations: 53.97 kB / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.6318, allocations: 93.27 kB / 0.8856 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.6318, allocations: 28.39 kB / 0.8857 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.6318, allocations: 80.7 kB / 0.8857 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.6319, allocations: 19.55 kB / 0.8858 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.6319, allocations: 0 / 0.8858 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.581e-05/0.632, allocations: 311.9 kB / 0.886 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.632, allocations: 9.812 kB / 0.8861 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.632, allocations: 6.172 kB / 0.8861 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.632, allocations: 11 kB / 0.8861 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.632, allocations: 4 kB / 0.8861 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.921e-05/0.6321, allocations: 67.12 kB / 0.8861 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6321, allocations: 5.703 kB / 0.8861 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6322, allocations: 0 / 0.8861 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6322, allocations: 2.875 kB / 0.8862 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.6323, allocations: 6.625 kB / 0.8862 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6323, allocations: 3.906 kB / 0.8862 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.6323, allocations: 3.938 kB / 0.8862 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.6323, allocations: 1.672 kB / 0.8862 GB, free: 106.2 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.6324, allocations: 116.8 kB / 0.8863 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.6324, allocations: 6.766 kB / 0.8863 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.6326, allocations: 78.27 kB / 0.8864 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6326, allocations: 2.938 kB / 0.8864 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6326, allocations: 0.6094 kB / 0.8864 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6326, allocations: 7.984 kB / 0.8864 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.627e-05/0.6327, allocations: 168.6 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6327, allocations: 0 / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.6327, allocations: 9.766 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6327, allocations: 0 / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.6328, allocations: 7.281 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.6328, allocations: 0 / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6328, allocations: 0.6562 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.961e-05/0.6329, allocations: 86.31 kB / 0.8866 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.6329, allocations: 84.28 kB / 0.8867 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.6329, allocations: 4.562 kB / 0.8867 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/0.633, allocations: 11 kB / 0.8867 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.633, allocations: 4.156 kB / 0.8867 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.633, allocations: 3.969 kB / 0.8867 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.633, allocations: 78.8 kB / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.403e-06/0.633, allocations: 0 / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002764/0.6333, allocations: 56.52 kB / 0.8869 GB, free: 105.6 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.6336, allocations: 166.7 kB / 0.887 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.6337, allocations: 29.19 kB / 0.887 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6337, allocations: 0 / 0.887 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.6337, allocations: 17.09 kB / 0.8871 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.6339, allocations: 7 kB / 0.8871 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.6341, allocations: 131.7 kB / 0.8872 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.6343, allocations: 0.6847 MB / 0.8879 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.6343, allocations: 13.84 kB / 0.8879 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.6344, allocations: 12.91 kB / 0.8879 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.6344, allocations: 0 / 0.8879 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.003387/0.6378, allocations: 1.081 MB / 0.8889 GB, free: 104.5 MB / 0.5417 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)