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.001313/0.001313, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001228/0.001228, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 279.2 kB / 290.2 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 87.75 kB / 0.5945 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.183, allocations: 86.98 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002252/0.1853, allocations: 1.314 MB / 0.6807 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1865, allocations: 0.8823 MB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.1865, allocations: 0 / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.1866, allocations: 3.938 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.193e-05/0.1866, allocations: 1.5 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.187, allocations: 112.4 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.151e-05/0.187, allocations: 28.8 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.1871, allocations: 0 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.1872, allocations: 24.47 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.1872, allocations: 8 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1872, allocations: 5.5 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.1875, allocations: 155.8 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.1875, allocations: 7.922 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1875, allocations: 8.562 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1878, allocations: 128 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1878, allocations: 4 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1878, allocations: 4 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1878, allocations: 0 / 0.682 GB, free: 14.51 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.0003907/0.1882, allocations: 351.5 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1882, allocations: 8.031 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1883, allocations: 8.781 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1884, allocations: 168.4 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1884, allocations: 4.375 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1884, allocations: 4.312 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1885, allocations: 53.94 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1885, allocations: 4 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1885, allocations: 0 / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1885, allocations: 0 / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.1886, allocations: 31.95 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.1888, allocations: 153.7 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.993e-05/0.1889, allocations: 38.62 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.1889, allocations: 16.98 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.189, allocations: 93.08 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1891, allocations: 38.44 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1891, allocations: 0 / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001711/0.1892, allocations: 61.69 kB / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1893, allocations: 55.41 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.1893, allocations: 93.86 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1894, allocations: 25.7 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.1894, allocations: 84.27 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1894, allocations: 23.73 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.1895, allocations: 13.72 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.1896, allocations: 318.8 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.1896, allocations: 11.98 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.1896, allocations: 11.94 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.1897, allocations: 20.86 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1897, allocations: 0 / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.076e-05/0.1898, allocations: 66.03 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1898, allocations: 7.938 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1898, allocations: 7.984 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1898, allocations: 4 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.1899, allocations: 7.984 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1899, allocations: 4 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1899, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1899, allocations: 0 / 0.6837 GB, free: 12.52 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.19, allocations: 119.1 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.19, allocations: 11.88 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.1902, allocations: 77.23 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1902, allocations: 0 / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1902, allocations: 0 / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1902, allocations: 0 / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1903, allocations: 165.6 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1904, allocations: 4 kB / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.1904, allocations: 8 kB / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1904, allocations: 11.88 kB / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.1904, allocations: 7.938 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1904, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1904, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1905, allocations: 81.12 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.1906, allocations: 85.03 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1906, allocations: 0 / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.1906, allocations: 12 kB / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1907, allocations: 0 / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1907, allocations: 4 kB / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.946e-05/0.1907, allocations: 75.28 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1907, allocations: 0 / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1909, allocations: 51.92 kB / 0.6844 GB, free: 11.71 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.0002311/0.1912, allocations: 159.1 kB / 0.6846 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.054e-05/0.1913, allocations: 32.22 kB / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1913, allocations: 0 / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.1913, allocations: 19.98 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1915, allocations: 0 / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.1917, allocations: 144.1 kB / 0.6848 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.192, allocations: 0.6809 MB / 0.6854 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.192, allocations: 11.98 kB / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.192, allocations: 11.44 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.192, allocations: 0 / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of Templates: time 0.003154/0.1952, allocations: 1.175 MB / 0.6866 GB, free: 9.426 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)