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.0008086/0.0008088, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007719/0.00772, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.00169, allocations: 274.4 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004225, allocations: 13.25 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1668, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001365/0.1682, allocations: 0.9784 MB / 0.6861 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1695, allocations: 0.866 MB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.1696, allocations: 0 / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.1696, allocations: 0 / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.1696, allocations: 7.922 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.17, allocations: 107.9 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.1701, allocations: 27.91 kB / 0.6871 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1701, allocations: 4 kB / 0.6871 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.1702, allocations: 11.98 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.1703, allocations: 15.92 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1703, allocations: 7.938 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.1705, allocations: 155.8 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.1706, allocations: 4.5 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1706, allocations: 42.09 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1708, allocations: 124 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1708, allocations: 0.5625 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1708, allocations: 0.625 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1709, allocations: 4 kB / 0.6874 GB, free: 12.74 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.000352/0.1712, allocations: 349.4 kB / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1713, allocations: 8.031 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.1713, allocations: 0.9375 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1714, allocations: 173 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1714, allocations: 384 / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.1714, allocations: 13.55 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.1715, allocations: 42 kB / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1715, allocations: 4 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1716, allocations: 0.5625 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1716, allocations: 6.438 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.1716, allocations: 31.91 kB / 0.688 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.1718, allocations: 157.7 kB / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.864e-05/0.1719, allocations: 38.56 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.1719, allocations: 17.64 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.172, allocations: 82.8 kB / 0.6883 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1721, allocations: 42.42 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1721, allocations: 0 / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000169/0.1723, allocations: 65.62 kB / 0.6884 GB, free: 11.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1723, allocations: 58.38 kB / 0.6885 GB, free: 11.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/0.1724, allocations: 93.86 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1724, allocations: 25.7 kB / 0.6886 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.1724, allocations: 80.14 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1725, allocations: 23.73 kB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.1725, allocations: 10.5 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.1726, allocations: 314.8 kB / 0.689 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.1726, allocations: 9.719 kB / 0.689 GB, free: 10.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.1726, allocations: 7.984 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.1727, allocations: 24.86 kB / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1727, allocations: 0.875 kB / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.776e-05/0.1728, allocations: 65.53 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1728, allocations: 7.938 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1728, allocations: 0.625 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1728, allocations: 4.531 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/0.1729, allocations: 8 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1729, allocations: 4.969 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.173, allocations: 0 / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.173, allocations: 5.016 kB / 0.6891 GB, free: 10.77 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 7.359e-05/0.1731, allocations: 111.2 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.1731, allocations: 8.062 kB / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.1733, allocations: 85.67 kB / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1733, allocations: 0 / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1733, allocations: 0 / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1733, allocations: 0 / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1734, allocations: 165.6 kB / 0.6895 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1734, allocations: 4 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.1735, allocations: 15.98 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1735, allocations: 3.938 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1735, allocations: 0 / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1735, allocations: 0 / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1735, allocations: 0 / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1736, allocations: 93.06 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.1737, allocations: 84.98 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1737, allocations: 8 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.1737, allocations: 0 / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.1737, allocations: 3.984 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1737, allocations: 4 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.533e-05/0.1738, allocations: 79.28 kB / 0.6897 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1738, allocations: 0 / 0.6897 GB, free: 10.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.174, allocations: 47.92 kB / 0.6898 GB, free: 9.973 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.0002347/0.1743, allocations: 155.1 kB / 0.6899 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1744, allocations: 36.02 kB / 0.69 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1744, allocations: 0 / 0.69 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.1744, allocations: 19.98 kB / 0.69 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.1746, allocations: 0 / 0.69 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1749, allocations: 140.6 kB / 0.6901 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1751, allocations: 0.677 MB / 0.6908 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.317e-05/0.1752, allocations: 27.81 kB / 0.6908 GB, free: 8.859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.1752, allocations: 11.44 kB / 0.6908 GB, free: 8.848 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1752, allocations: 0 / 0.6908 GB, free: 8.848 MB / 494.1 MB Notification: Performance of Templates: time 0.00407/0.1793, allocations: 1.154 MB / 0.692 GB, free: 7.695 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)