Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8013/0.8013, allocations: 143.8 MB / 159.1 MB, free: 6.516 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 186.4 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.7 MB / 450.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000792/0.0007919, allocations: 99.5 kB / 0.5211 GB, free: 1.66 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 277.8 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004477, allocations: 11.12 kB / 0.6948 GB, free: 59.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 82.45 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001393/0.1734, allocations: 0.9771 MB / 0.7763 GB, free: 13.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.175, allocations: 1.294 MB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.175, allocations: 0 / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.1751, allocations: 0 / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.1751, allocations: 11.94 kB / 0.7775 GB, free: 11.93 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.1755, allocations: 107.7 kB / 0.7776 GB, free: 11.83 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.1756, allocations: 27.91 kB / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1756, allocations: 0 / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.1757, allocations: 15.92 kB / 0.7777 GB, free: 11.79 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.1758, allocations: 12 kB / 0.7777 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1758, allocations: 0 / 0.7777 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1761, allocations: 159.8 kB / 0.7778 GB, free: 11.62 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.1761, allocations: 7.922 kB / 0.7778 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1761, allocations: 33.69 kB / 0.7779 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1764, allocations: 128 kB / 0.778 GB, free: 11.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1764, allocations: 0 / 0.778 GB, free: 11.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1764, allocations: 0 / 0.778 GB, free: 11.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1764, allocations: 0 / 0.778 GB, free: 11.45 MB / 458.7 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.0003885/0.1768, allocations: 351.5 kB / 0.7783 GB, free: 11.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1768, allocations: 8.031 kB / 0.7783 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.1769, allocations: 12.84 kB / 0.7784 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.177, allocations: 168.3 kB / 0.7785 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.177, allocations: 384 / 0.7785 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.177, allocations: 4.375 kB / 0.7785 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1771, allocations: 49.98 kB / 0.7786 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1772, allocations: 0 / 0.7786 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1772, allocations: 3.938 kB / 0.7786 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1772, allocations: 4 kB / 0.7786 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/0.1773, allocations: 23.98 kB / 0.7786 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.1774, allocations: 157.7 kB / 0.7787 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.841e-05/0.1775, allocations: 42.56 kB / 0.7788 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.1775, allocations: 16.98 kB / 0.7788 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.1777, allocations: 85.09 kB / 0.7789 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1777, allocations: 38.5 kB / 0.7789 GB, free: 10.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1777, allocations: 4 kB / 0.7789 GB, free: 10.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001752/0.1779, allocations: 61.62 kB / 0.779 GB, free: 10.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1779, allocations: 55.41 kB / 0.779 GB, free: 10.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.178, allocations: 101.8 kB / 0.7791 GB, free: 10.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.178, allocations: 25.7 kB / 0.7792 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.1781, allocations: 80.14 kB / 0.7792 GB, free: 9.961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1781, allocations: 23.66 kB / 0.7793 GB, free: 9.938 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1781, allocations: 0 / 0.7793 GB, free: 9.938 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1783, allocations: 314.8 kB / 0.7796 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.1783, allocations: 11.98 kB / 0.7796 GB, free: 9.609 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.1783, allocations: 8.125 kB / 0.7796 GB, free: 9.602 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.1784, allocations: 28.8 kB / 0.7796 GB, free: 9.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1784, allocations: 0 / 0.7796 GB, free: 9.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.242e-05/0.1785, allocations: 57.69 kB / 0.7797 GB, free: 9.508 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1785, allocations: 7.938 kB / 0.7797 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1785, allocations: 0 / 0.7797 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1785, allocations: 0 / 0.7797 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.1786, allocations: 11.98 kB / 0.7797 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1786, allocations: 0 / 0.7797 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1786, allocations: 0 / 0.7797 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1786, allocations: 8 kB / 0.7797 GB, free: 9.48 MB / 458.7 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.928e-05/0.1787, allocations: 105.8 kB / 0.7798 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1787, allocations: 11.94 kB / 0.7798 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.1789, allocations: 85.52 kB / 0.7799 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1789, allocations: 0 / 0.7799 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.179, allocations: 8 kB / 0.7799 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.179, allocations: 0 / 0.7799 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1791, allocations: 165.7 kB / 0.78 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1791, allocations: 0 / 0.78 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.1791, allocations: 8 kB / 0.7801 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1792, allocations: 7.922 kB / 0.7801 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1792, allocations: 0 / 0.7801 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1792, allocations: 4 kB / 0.7801 GB, free: 9.027 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1792, allocations: 0 / 0.7801 GB, free: 9.027 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1793, allocations: 89.06 kB / 0.7801 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.1793, allocations: 89.03 kB / 0.7802 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1794, allocations: 0 / 0.7802 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.1794, allocations: 0 / 0.7802 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.1794, allocations: 7.938 kB / 0.7802 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1794, allocations: 4 kB / 0.7802 GB, free: 8.805 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.208e-05/0.1795, allocations: 79.28 kB / 0.7803 GB, free: 8.727 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1795, allocations: 0 / 0.7803 GB, free: 8.727 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.1797, allocations: 47.92 kB / 0.7804 GB, free: 8.68 MB / 458.7 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.0002273/0.1799, allocations: 167.2 kB / 0.7805 GB, free: 8.504 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.18, allocations: 23.94 kB / 0.7805 GB, free: 8.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.18, allocations: 0 / 0.7805 GB, free: 8.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.1801, allocations: 19.98 kB / 0.7806 GB, free: 8.461 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1802, allocations: 4 kB / 0.7806 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.1805, allocations: 156.3 kB / 0.7807 GB, free: 8.273 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1808, allocations: 0.677 MB / 0.7814 GB, free: 7.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.1808, allocations: 11.98 kB / 0.7814 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.1808, allocations: 11.44 kB / 0.7814 GB, free: 7.547 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1808, allocations: 0 / 0.7814 GB, free: 7.547 MB / 458.7 MB Notification: Performance of Templates: time 0.003085/0.1839, allocations: 1.163 MB / 0.7825 GB, free: 6.387 MB / 458.7 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)